4 replies [Last post]
Excavator
Excavator's picture
Offline
Enthusiast
Alaska
Last seen: 6 years 5 weeks ago
Alaska
Timezone: GMT-9
Joined: 2004-04-04
Posts: 121
Points: 60

How do you stop the horizontal scroll bar from appearing? I have one that shows up even when it 's not needed and I don't know why.

ClevaTreva
ClevaTreva's picture
Offline
Guru
A hilly place, UK
Last seen: 2 years 12 weeks ago
A hilly place, UK
Joined: 2004-02-05
Posts: 2902
Points: 0

Horizontal Scroll bar

Hi

Without a url to see, my guess is that you have a div set to 100% width and something is making it expand a bit (like margin or borders). For example, in IE5 (WIN or MAC), that browser adds borders outside the div width (how daft is that?).

Trevor

Excavator
Excavator's picture
Offline
Enthusiast
Alaska
Last seen: 6 years 5 weeks ago
Alaska
Timezone: GMT-9
Joined: 2004-04-04
Posts: 121
Points: 60

Horizontal Scroll bar

Cleva,
Thanks once again. I am going to have to add a line giving you credit you've helped me so much. :?

To see the scroll bar I'm talking about just have a look at my homepage. Resize the page a couple times... it disapears and re-appears for no reason. It is not a "scrollable" scroll bar.

I will double check my div widths again. It's a new day so I may notice something I missed lastnight.

ClevaTreva
ClevaTreva's picture
Offline
Guru
A hilly place, UK
Last seen: 2 years 12 weeks ago
A hilly place, UK
Joined: 2004-02-05
Posts: 2902
Points: 0

Horizontal Scroll bar

Hi

Had a quick look at the css in layout.css

Change the #footer from padding:5px; to padding: 5px 0px;

This takes the padding off the left and right but leaves it on top and bottom.

BTW. Take a look at it in Mozilla. Your family pic (say hi to the lady) scrolls all wrong. Probably to do with the background:fixed (take this out and its OK).

Trevor

Excavator
Excavator's picture
Offline
Enthusiast
Alaska
Last seen: 6 years 5 weeks ago
Alaska
Timezone: GMT-9
Joined: 2004-04-04
Posts: 121
Points: 60

Horizontal Scroll bar

Yep, that was it. Starting to look a little better now.
Gave you an honorable mention on the updates page too.

Thanks again Smile

Still working on the onmouseover behavior. That's being a little difficult, haha.