|  | Posted by Els on 11/09/07 17:28 
VUNETdotUS wrote:
 >> but if I use padding:0;margin:0; do I need that hack at all? And why
 >> IE5 needs 150px? Why not 160 for example? What is the rule of fudge
 >> hack?
 >
 > Oh, I got it. 150 is width+margin+top. So, I do not need fudge hack if
 > padding, margin are 0...
 
 width+padding+border, not width+margin+top.
 
 And indeed, without padding or border, no hack needed.
 I usually work around it by setting padding/border only on elements
 without a width, and setting width on their parents but no
 padding/border.
 
 --
 Els                     http://locusmeus.com/
  Navigation: [Reply to this message] |