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.
Group items matching
in title, tags, annotations or url
1More
High Resolution Textures Set 1 - by ArtWave Design | Design Marketing Advertising Free ... - 0 views
1More
Fresh Free Social Media Icons | DMA Free Tips - 2 views
1More
How to Free Up Storage Space on Your iPhone to Set Up iOS 8? - 0 views
1More
Mediacom Email Configuration On Your iPhone - 0 views
1More
Analyze LinkedIn Business Strategy before Setting up LinkedIn Clone - 0 views
1More
WordPress- What are the advantages of ecommerce store builders? - 0 views
1More
Why Woocommerce Is The Best Platform For Your E-store Set-up? - Justwebdevelopment - 0 views
‹ Previous
21 - 40 of 409
Next ›
Last »
Showing 20▼ items per page