I've gotten into the habit of using em values as much as possible in  
my CSS.  I use the YUI base to setup my grids and such.

This means 1em = 13px in FF, Safari etc.  However, for IE I need to  
multiply my em values by 0.9759 to account for IEs odd definition of  
em.  I can do all of this with the current math in SASS.

I'd like to be able to set my significant digits though.  According to  
some of the YUI research, four decimal places are optimal.  This is  
hardly a huge deal, but it would be nice to set that somewhere.

More importantly, I've noticed division operations floor the result.   
Again, not huge because I can just flip all of my calculations to be  
multiplication; however, it seemed like an odd feature.  Shouldn't it  
round to an integer value (or floor the value) if the unit is px?   
However, if the unit is percent, em, etc. then keep the result a  
decimal.

Just my thoughts.  Either way, this is a huge help and I plan on using  
it with my future projects.
--

Joshua Hall   |   402.321.4778   |   surrealnotions.com

A computer terminal is not some clunky old television with a  
typewriter in front of it. It is an interface where the mind and body  
can connect with the universe and move bits of it about.
        --Douglas Adams


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to