Click to See Complete Forum and Search --> : "phantom" scroll bar visible... why??


takmais
11-17-2005, 11:10 PM
hello again. i must have recently made some changes to my website and i just noticed that in IE 6 i have this sorta phantom scroll bar at the top of the page. i'm wondering if its visibility has something to do with my method of centering my content, but i didnt notice this before. just wondered if anyone else see this? i also recently added a javascript that detects flash plugins and redirects the user to the appropriate flash/non flash page. wondering if this might be causing it. its only present in IE and not in firefox. any help would be most appreciated.
thanks,
j
oh.. www.johnnygolden.com

KDLA
11-18-2005, 03:09 PM
The scrollbar appeared for me.

May have something to do with this:
body
{
font-size: 10px;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #565656;
background: url('../images/tile.gif');
overflow: scroll;
}

You haven't defined a width or max-width - and normally, you can't do that in a <body> tag anyway because IE will always try to stretch your page to fit the screen. Get rid of the overflow tag and see if the scrollbar still appears.

KDLA

takmais
11-19-2005, 12:33 PM
Thanks a million. that was exactly the problem. i dont know how that even got there as its a property that i NEVER use.
j