EM calculations
Sizing text is always an important part of making a usable design. I start all my CSS files with the following rules:
html { font-size:100.01%; }
body { font-size:1em; }
The explanation for this comes from "CSS: Getting Into Good Coding Habits:"
This odd 100.01% value for the font size compensates for several browser bugs. First, setting a default body font size in percent (instead of em) eliminates an IE/Win problem with growing or shrinking fonts out of proportion if they are later set in ems in other elements. Additionally, some versions of Opera will draw a default font-size of 100% too small compared to other browsers. Safari, on the other hand, has a problem with a font-size of 101%. The current "best" suggestion is to use the 100.01% value for this property.
Computer Problem Solved - 1 views
1More
How to Counter Common Security Problems While Making Web Applications inside Ruby on Rails - 0 views
1More
Website and Mobile App Development Company - AResourcePool: Hire Joomla Developer India... - 0 views
They Effectively Fixed My laptop - 2 views
HP Support for Printers - 1 views
Getting Used to Help and Support - 3 views
Getting Used to Help and Support - 0 views
Fix Slow Computer Today Did A Good Job - 1 views
Fix Slow Computer Today Did A Good Job - 1 views
2More
Prepare yourself for Software Testing and Quality Assurance Certifications - 0 views
‹ Previous
21 - 40 of 310
Next ›
Last »
Showing 20▼ items per page