473,471 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Horizontal Gap Between Divs

27 New Member
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:

http://ridgedale.powweb.com/TinHorse/sbx_sustain.php

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

IE5.5:



IE6:



Firefox2007 displays correctly:



Any help would be appreciated. Thanks in advance.
Oct 10 '07 #1
6 4933
drhowarddrfine
7,435 Recognized Expert Expert
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
drhowarddrfine
7,435 Recognized Expert Expert
On second thought, forget that. Let me look again.
Oct 10 '07 #3
drhowarddrfine
7,435 Recognized Expert Expert
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
ridgedale
27 New Member
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
ridgedale
27 New Member
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
drhowarddrfine
7,435 Recognized Expert Expert
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

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

Similar topics

1
by: Michael Trojacher | last post by:
I got two <div>'s, one of them with float:right, but they aren't aligned hrizontally at the same level, when viewed in ie. in opera it works fine, the second div is on the same height as the first...
5
by: Poonam | last post by:
Hi there. How can i maintain the spacing between to divs if palced side by side with 10px spacing between them.. Not using any tables. And atleast making one of the div relative positioning. ...
4
by: Cezar | last post by:
Hi! I've logo on the left top corner and on the right top corner is menu, select language and date. This must looks like: Logo Menu#1 Menu #2 Select Language Date In IE6.0, 5.5...
3
by: dan | last post by:
Hi folks, I have a very simple requirement - I want to have a row of divs of fixed size (but unknown number of them) This will be in a container div and scrolled by other means Is there any...
8
by: Peter Maas | last post by:
given 3 boxes, where box1 contains box2 and box3, box1.width = box2.width + box3.width and box1.height = max(box2.height, box3.height): +-------------+ |+----++-----+| || || || || ...
39
by: WindAndWaves | last post by:
Hi Gurus I have a page, which looks a bit like this: .... <body> <div ID=id1>................</DIV> <div ID=gsd>................</DIV> <div ID=ewd>................</DIV> <div...
1
by: brixton | last post by:
Hello, silly problem maybe, but... I'm trying to get a horizontal menu to work with DIVs but I'm having trouble getting the menu items to "fill" the menu DIV. Basically I have a surrounding...
0
by: Berlin Brown | last post by:
I have two DIVs on the same line, a left navigation frame and the right content. I want both of those items on the same line. Lets say the left nav content is 140pixels and the right content is...
4
dlite922
by: dlite922 | last post by:
This is just barely above my head when it comes to css. I have a div that needs to contain rows of floating divs, but I need each row not to wrap on to the next one and continue to go right. The...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.