|
Posted by VUNETdotUS on 11/09/07 17:34
On Nov 9, 12:28 pm, Els <els.aNOS...@tiscali.nl> wrote:
> 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/
right, width+padding+border. thanks for workaround hint.
[Back to original message]
|