Details
-
Improvement
-
Resolution: Obsolete
-
Medium
-
4.1.3
-
None
Description
Hi,
the css files could be refactored. There are a lot of 'px' values used, the w3c suggests using 'em' instead.
ez will use more of YUI in future, it would be nice if also the font / grid / base stylesheets will flow into ez.
Links:
Font size conversion chart:
http://developer.yahoo.com/yui/fonts/#using
Pixels to em:
============================================
Pixels / 13 = width in ems. For IE, pixels / 13.333. Use starproperty
filter to target IE. For example, this sets 610px:
#custom-doc {
width:46.923em; /* 610/13 */
width:45.750em;/ 610/13.3333 */
}
More about YUI stylesheets:
http://developer.yahoo.com/yui/reset/
http://developer.yahoo.com/yui/base/
http://developer.yahoo.com/yui/fonts/
http://developer.yahoo.com/yui/grids/
Best wishes,
Georg.