PDA

View Full Version : No Scrollbars


CrUdE
01-21-2003, 10:18 AM
Lo peeps,

A simple question I have:

Is it possible, with or without a script to make the scrollbars dissapear.

I mean really dissapear, not colouring it with the background color etc., but really away :p.

greetz

CrUdE

ronaldb66
01-21-2003, 10:39 AM
Have the content fit the browser window? Scrollbars have a function; if you make them necessary, don't mess with them.

CrUdE
01-21-2003, 10:42 AM
Indeed, the site is made for at least 800*600 px everyting fits perfectly, and I don't need the scrollbar at all, because i work with an <iframe> so is it possible then to make it dissapear

no way
01-21-2003, 10:57 AM
Hey, try this !

<body style="overflow-y:hidden">

:thumbsup: Fred

no way
01-21-2003, 11:01 AM
Also look at this thread:

"Get rid of the scroll bar on a short page" posted 01/07/2003.

Fred

CrUdE
01-21-2003, 11:02 AM
wow, big thanks m8.

But now that it works here , I've one more question.

Is it supported by all versions of I E and maybe also by Netscape, Opera ...?

u could have seen that one comin' huh :)

ronaldb66
01-21-2003, 12:09 PM
I could be wrong here, but i couldn't find any overflow-y property in the W3C CSS2 Recommendation, just overflow; i must therefore conclude that it's not standard CSS and browser support is therefore questionable.

Update: MS have proposed the overflow-x and overflow-y properties to the W3C; they're not in the Recommendation yet.
MS CSS attributes (http://msdn.microsoft.com/library/default.asp?url=/workshop/author/css/reference/attributes.asp)

Stoffel
01-21-2003, 09:27 PM
cant <body scroll=no> be used?
It works fine in IE6.0

cg9com
01-22-2003, 01:21 AM
scroll="yes|no" IE4+ only

overflow:hidden

also accepts "auto" "scroll" "visible"