Forum Moderators: not2easy

Message Too Old, No Replies

padding different in IE and Mozilla

padding different in IE and Mozilla

         

oldworldcharms

6:22 am on Jun 21, 2005 (gmt 0)

10+ Year Member



I am using padding-bottom: 8px; in Mozilla it has the perfect amount of padding but in IE its too much. Is there a better spacing property. To view go to <snip>
Its the breadcrumb property

Thanks
Elizabeth

[edited by: Woz at 7:41 am (utc) on June 21, 2005]
[edit reason] No URLs please, see Tos#13 [/edit]

Sathallrin

3:25 pm on Jun 21, 2005 (gmt 0)

10+ Year Member



Check to see if you have a return after an IMG tag (or a few other elements). These can cause extra space at the bottom of an image in IE... which would make it look like there is too much padding. An easy fix is to wrap these in divs.
<div><img src="example.jpg" alt="" /></div>

oldworldcharms

10:59 pm on Jun 21, 2005 (gmt 0)

10+ Year Member



I found the problem. I had height 0; when removed both browsers displayed the page the same.

thanks