Large unexplained white space in CSS structured page (only in IE)

Posted on 2006-10-24
Last Modified: 2012-06-27
Hi there

I have the following homepage, structured in CSS:

The CSS is here:

In IE6, you will notice that there is a large gap between where the homepage content ends (so at the bottom of the Quick Access box) and where the footer begins. I cannot work out why this is there - it only happens on the homepage and I want to get rid of it. There are no "margin-bottom" values on the elements and no "margin-top" on the footer that are causing this.

In Firefox this is not there...

Can anyone help?

Question by:gjirvine3000
  • 4
  • 2

Author Comment

ID: 17796068
ah yes - thanks I thought I'd put it there

LVL 30

Expert Comment

ID: 17796235
Without looking at the page, I would guess that this is a whitespace issue if it is only happening in ie.

Format your html like this and see if it fixes

><div id="footer"</div>

Author Comment

ID: 17796368
Hi Steggs

Sorry, no joy...

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.


Assisted Solution

Oneiroid earned 250 total points
ID: 17796401
Try changing:

<br style="clear: both;"/>  


<div style="clear: both;"/>  

I am seeing this line just above your footer div.

Author Comment

ID: 17796468
Thanks oneiriod, but that hasn't cracked it.

That change pushes the div above (homepage contact div) onto the next line...

LVL 30

Accepted Solution

Steggs earned 250 total points
ID: 17796548
Ok, the problem is the 'contact us' div pushing the footer down.

You have an extra row at the bottom

     <td width="50"><img src="iconnewsletter.gif"></td>
        <td class="headingblue">Stay in the know<br>
              <a href="" class="homelinks">Sign-up to our
  <tr>                                              <------------
      <td></td>                                   Remove this
    <td>&nbsp;</td>                          row
  </tr>                                             <------------

Author Comment

ID: 17796602

Thanks all but I've actually found the following code underneath the ACCESSIBILITY AND ACCREDITATIONS div

 <div class="clear">&nbsp;</div>

  <p><br />


So I have removed the

  <p><br />

and all is well!


Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
HTML and CSS for a complex page 20 71
CSS Question 5 83
Centered Image 2 28
would like the bottom of this page to be smaller 3 27
As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question