Forum Moderators: not2easy

Message Too Old, No Replies

Scrollbar issues

get rid of horizontal scroller in the body

         

fred_n

8:26 am on Apr 13, 2006 (gmt 0)

10+ Year Member



hey guys,
i need to get rif of all scrollbars on my site. so i tried to add overflow:hide; in the "body" in my style sheet but that only seems to work in Firefox and not Explorer.

how can i get rid of the main horisontal scroller completely in all broswers?

thanx
fred

www.malistic.com

Setek

8:39 am on Apr 13, 2006 (gmt 0)

10+ Year Member



I've set overflow to hidden on the body tag and it works in both IE and Firefox?

<body style="overflow:hidden;">
<p>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</p>
</body>

I hope this is for a fixed-width, fixed-height internal scrolling website, because otherwise, you're bound to crop off content :)

fred_n

8:43 am on Apr 13, 2006 (gmt 0)

10+ Year Member



no its not a fixed height, thats the problem. it needs to go in the body tag. is there a way with javascript?

Setek

9:26 am on Apr 13, 2006 (gmt 0)

10+ Year Member



AFAIK, you can't remove purely the horizontal scrollbar with javascript :)

But I'm not a javascript expert :)