Informations
vikramsra's Spot - created by vikramsra
Public Group
Date : the 10/07/2009
Visited : 30095
SpotRank : 4838
Channel: Other
Permalink :
AUTHOR(S)
 

vikramsra's Spot Follow

Firefox to implement calc() in CSS3

Ever had an element that needed to have a percentage width with padding? Up until now, because of the way the box model works in modern browsers, you had to wrap the content in a container to which you’d apply the padding. That’s because when you define padding to an element the value is added to the width, which is the proper way of doing it.

TAGS css3 |  calc |  firefox |  css |  browser |  internet |  web design |  open source |  web stuff | 
View original story on http://www.canigetinfo.com/2010/06/16/firefox-to-implement-calc-in-css3/
YOUR REACTION
YOUR REACTION