Forum Moderators: open

Message Too Old, No Replies

Cannot find cause of space at bottom of web page.

         

ThomasAJ

3:06 am on Sep 3, 2009 (gmt 0)

10+ Year Member



It's between the bottom of my main table and the bottom of the web page.
I have looked everywhere - it's about 20 to 30 px.

What words should I scan on in my source.

I have scanned on 'bottom' so far.

D_Blackwell

6:24 am on Sep 3, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



A test-ready sample of the 'broken code' would be easier, but the likeliest cause is margin: or padding:

It reads as they you want the 'main table' margin-bottom: flush with the bottom of the page. Presuming that the table has enough content to reach the bottom of the web page (possibly better described as the bottom of view port which will vary considerably depending upon the user) I would look at setting:

html, body {
margin: 0; padding: 0;
}

If that doesn't do it then I would look at the margin and padding of the table.

piatkow

3:16 pm on Sep 3, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I assume that checked for the really obvious things like stray P or BR tags.

LifeinAsia

3:23 pm on Sep 3, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Also check any DIVs with height attributes. An accidental 0 added to the actual height you wanted can add quite a bit of extra space. :)

ThomasAJ

11:34 pm on Sep 3, 2009 (gmt 0)

10+ Year Member



Thanks to ALL - I will check it out.