471,610 Members | 1,311 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,610 software developers and data experts.

Horizontal Gap Between Divs

I wonder if anyone can point me in the right direction. I have a webpage that works in Firefox (Mac & PC), IE7 (PC - works OKish!), Safari & Camino but when I preview the webpage in IE5.5 or IE6 it breaks with a big horizontal gap between the header div and the rest of the page. Below I've attached a link to the page:


I've also provided a couple of screen grabs showing the problem in IE5.5 and IE6:



Firefox2007 displays correctly:

Any help would be appreciated. Thanks in advance.
Oct 10 '07 #1
6 4845
7,435 Expert 4TB
The easiest thing to try is adding 'vertical-align:bottom' to the <h1> containing that image. That's one IE bug but the other has slipped my mind for some strange reason. I should know this.
Oct 10 '07 #2
7,435 Expert 4TB
On second thought, forget that. Let me look again.
Oct 10 '07 #3
7,435 Expert 4TB
For some reason, I can't get my IE viewer to work with that page. I don't run Windows and my Windows box isn't available so I'll have to try again tomorrow. You can still try what I suggested above to see what happens.
Oct 10 '07 #4
drhowarddrfine, thanks for your reply. Unfortunately, the image you are seeing ing inside the <h1> tags of the header div is for the text heading only. The typewriter image is a background-image with no-repeat and a fixed position tied to the header div, so what you have suggested won't work.

Thanks again.
Oct 10 '07 #5
I've managed to resolve this problem by setting

Expand|Select|Wrap|Line Numbers
  1. margin: 0;
on the <h1> class.

Thanks again.
Oct 11 '07 #6
7,435 Expert 4TB
That was going to be my other suggestion but it looked like you already had that applied there. This is the second IE bug I mentioned above.
Oct 11 '07 #7

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Michael Trojacher | last post: by
5 posts views Thread by Poonam | last post: by
4 posts views Thread by Cezar | last post: by
8 posts views Thread by Peter Maas | last post: by
39 posts views Thread by WindAndWaves | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by
reply views Thread by CCCYYYY | last post: by
1 post views Thread by ZEDKYRIE | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.