Ottens
02-20-2008, 06:20 PM
I'm having a padding appearing where there shouldn't -- it only appears in Internet Explorer. Safari depicts the page just as it should.
Here it is. (http://www.ottens.co.uk/gatehouse/index.php)
Explorer gives me a padding between the top border and the text. It doesn't produce a padding above the image, though, but I have margins set for the image.
Here's the relevant coding:
#black p {padding:0 10px;}
#news {width:515; min-height:210px; border:solid 1px #2A2A2A; margin:10px; padding-top:0;}
#news img {float:left; width:145px; margin:12px 10px 10px 10px;}
I tried adding "margin:0" to the #news-box but that doesn't work.
The #news DIVs are the boxes in which the pics and text are in.
Help would be greatly appreciated!
Here it is. (http://www.ottens.co.uk/gatehouse/index.php)
Explorer gives me a padding between the top border and the text. It doesn't produce a padding above the image, though, but I have margins set for the image.
Here's the relevant coding:
#black p {padding:0 10px;}
#news {width:515; min-height:210px; border:solid 1px #2A2A2A; margin:10px; padding-top:0;}
#news img {float:left; width:145px; margin:12px 10px 10px 10px;}
I tried adding "margin:0" to the #news-box but that doesn't work.
The #news DIVs are the boxes in which the pics and text are in.
Help would be greatly appreciated!