3 replies [Last post]
bloome
Offline
Regular
Last seen: 19 years 1 week ago
Joined: 2004-05-27
Posts: 14
Points: 0

I'm working on this site,

http://208.185.248.208/

and in IE there is a pixel gap between my containers (header picture, and navigation) even though there are no margins or paddings specified.

Any ideas why this is happening?

Thanks in advance.

bloome

karinne
karinne's picture
Offline
Enthusiast
Aylmer, QC, Canada
Last seen: 15 years 50 weeks ago
Aylmer, QC, Canada
Timezone: GMT-5
Joined: 2004-01-14
Posts: 291
Points: 0

Weird margin in IE

try putting the </div> on the same line as the rest of you code!?

also... i don't see the subheader and nav id's anywhere in you css?! unless i totally missed something... which could very well may be. this baby is sucking my brains out Laughing out loud

bloome
Offline
Regular
Last seen: 19 years 1 week ago
Joined: 2004-05-27
Posts: 14
Points: 0

Weird margin in IE

karrinne,

I haven't styled the header and subheader sections yet, which is why you don't see them.

I put the </div> on the same line and it worked.

I can't believe that is the problem. Why does that matter?

bloome.

karinne
karinne's picture
Offline
Enthusiast
Aylmer, QC, Canada
Last seen: 15 years 50 weeks ago
Aylmer, QC, Canada
Timezone: GMT-5
Joined: 2004-01-14
Posts: 291
Points: 0

Weird margin in IE

IE creates white-space with that sort of stuff... kinda like if you had

<table>
<tr><td>

<img...></td>
</tr>
</table>

there would be a space before that image.

it's IE... don't ask Wink glad it worked for ya