2 replies [Last post]
smjohn
Offline
newbie
Scotland
Last seen: 14 years 34 weeks ago
Scotland
Joined: 2006-01-22
Posts: 7
Points: 0

Hello, I have a small layout problem in IE.

Although my page displays as expected in FF, Opera and Netscape, in IE the main content areas of my site (#left and #topnav) line up directly under the h1 section, ignoring the 5px bottom margin I have in the h1 code:

h1 {
      margin:0px 0px 5px 0px;	
      }

http://www.eastriggs.org.uk/about/

It still looks reasonable in IE but I would prefer it to have the 5px space between the top section and the main content. Any advice on what I can do to resolve this would be appreciated.

Thanks.

DanA
DanA's picture
Offline
Elder
Last seen: 10 years 19 weeks ago
Timezone: GMT+2
Joined: 2004-08-14
Posts: 1087
Points: 2

[solved] Minor IE Layout Problem

Why don't you use #header{margin: 0 0 5px;} instead ?

smjohn
Offline
newbie
Scotland
Last seen: 14 years 34 weeks ago
Scotland
Joined: 2006-01-22
Posts: 7
Points: 0

Minor IE Layout Problem

I tried that and its sorted the problem, many thanks for your help.