Jukka K. Korpela wrote on 2014-09-18 09:06 (GMT+0300): > Felix Miata wrote:
>> When you set a width in rem, the ratio between base font size and the >> container's design width remains constant no matter how many layers deep that >> container lives, and no matter what the base font size is. > Normally what should matter is the ratio between the element's own font > size and the element's width. Ideally from a user perspective, for the majority of content, the two ratios should in practical effect be identical. The reality of course is that on most of the web, the simplification that cascading originally offered in divorcing content from presentation has been mostly lost by CSS's misuse as a pseudo page layout language treating the web as if it was print. Site after site repeats ad infinitum equivalent declarations on a hopelessly complex overabundance of classes, many of which, because of cascade, conflict, and ultimately, get "fixed" by adding more declarations instead of culling down to the minimum necessary to get the job done. Too often the CSS outweighs the (X)HTML. The natural talent of every modern web browser to adapt content to the user's environment is usurped by CSS attempting to make every page look like Photoshopped image, and at an arbitrary size bearing no predictable relationship to the physical characteristics of the environment opened within. The latter day addition of the rem unit to a rather evolved CSS specification does offer the practitioner a practical opportunity to work around some of the complexity that cascade induces. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/