views:

435

answers:

3

hi, on this site http://redlineautoleasing.com/beta/

what could be causing the bottom scrollbar? i cant figure it out.

i tried this http://blog.josh420.com/archives/2007/11/fixing-the-ie-overflow-vertical-scrollbar-bug.aspx but the page kind of got messed up the bottom content got chopped off.

A: 

I can't see it because I'm on a mac but when something like this happens to me I create a test page and start deleting code. Remove 50% of the html and css then take another look. Then keep doing it 'till you find the offending code. Sometimes this doesn't work but most time it does.

Rimian
A: 

It looks like your CSS has several things with large widths or margins which could be invisibly going off the side of the page - most likely a positioning difference between IE and other browsers.

In firefox, the firebug addon allows you to inspect all the elements of your page. If there's something like that for IE it should help you identify the offending element. Otherwise, maybe try setting all borders to a width of 1 pixel with various colours to try to highlight which element is sitting out there.

Jarod Elliott
yea i have firebug but cant seem to detect anything. i did *{border: 1px solid green; } and i cant see anything that is off.
I just found this link if you don't already have it for IE. Hopefully it helps: http://getfirebug.com/lite.html
Jarod Elliott
I think the Web Developer Toolbar for IE7 from Microsoft works quite neat. I actually use it for testing over Firebug.
mike nvck
yea i was about to get that, it works now though :)
thanks __________
+3  A: 

From your CSS:

body {
    background-color:black;
    background-image:url(../images/contentbg.jpg);
    background-repeat:repeat-x;
    height:536px;
    background-position:top left;
    color:white;
}

try adding overflow-x: hidden; and possibly also width: 100%;

or try adding

html{
     width:100%;
     overflow-x: hidden;
    }

play around with these, the right combination should make it work OK.

mike nvck
i love you!!!!!! you saved me alot of time. thats going into my notes :p thank you. ( i think the width:100% did it, why didnt i think of that lol. )
you are welcome mate, accept the answer please ;)
mike nvck