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
40 Ultimate Useful JavaScript Tutorials for Web Professionals | Dzinepress - 6 views
50 Brilliant CSS3/JavaScript Coding Techniques - Smashing Magazine - 0 views
1More
Showcase of 50 Exceptional Orange Website Designs | Smashing Buzz - 6 views
1More
The Future Of CSS Typography - Smashing Magazine - 0 views
1More
Best Resources for Submit your Tutorials and Get Traffic | Smashing Buzz - 4 views
1More
30 Best Flash Preloader Tutorials for Beginners and Professionals | Tutorial Lounge - 8 views
1More
Modern CSS Layouts: The Essential Characteristics - Smashing Magazine - 0 views
1More
40+ Striking Adobe Fireworks Tutorials - 4 views
1More
10 Free Excellent Website Designs with PSD Source | Dzinepress - 4 views
« First
‹ Previous
81 - 100 of 420
Next ›
Last »
Showing 20▼ items per page