Using rem's with uiOptions...

Justin Obara obara.justin at gmail.com
Tue Apr 17 12:56:03 UTC 2012


Hi Johnny,

Thanks for spotting this and letting us know. I've written up a jira about it. 
http://issues.fluidproject.org/browse/FLUID-4698

Feel free to update it as needed.

Thanks
Justin

On 2012-04-13, at 11:48 AM, Johnny Taylor wrote:

> Hi,
> 
> Quite awhile ago I came across an article by Jonathan Snook titled Font sizing with rem <http://snook.ca/archives/html_and_css/font-size-with-rem>.  In it he outlined a process of sizing text on a page using a new CSS3 unit called "rem's." It essentially uses the root, the font-size attached to the html element, as a consistent reference for sizing text on a page that employs it. Thus mitigating the em compounding issue (read his article for more info). Pretty sweet.
> 
> Where this is relevant to this list is I half employed rem's in a project recently that uses uiOptions. To resolve the compounding issue this was meant to  solve. And the fact I half employed it prevented me from spotting the issue sooner. But the problem is, and it's a significant issue, elements using rem's to set their font size are immune to the text sizing options in uiOptions. As rem's constantly refer to the root, the sizing effect of uiOptions bypasses the inline styles uiOptions applies to the body!
> 
> Heads up!
> 
> Johnny
> _______________________________________________________
> fluid-work mailing list - fluid-work at fluidproject.org
> To unsubscribe, change settings or access archives,
> see http://lists.idrc.ocad.ca/mailman/listinfo/fluid-work



More information about the fluid-work mailing list