bunglebrown
New Member
- Messages
- 157
- Reaction score
- 0
- Points
- 0
I put an overflow-y into my css to prevent unnecessary scrolling but it only registered in firefox (3.0). Anyone know how to stop it in all browsers?
<html>
<head>
<title>Test</title>
<style type="text/css">
body {
overflow: hidden;
}
</style>
</head>
<body>
OMG CONTENT<br><br><br>
OMG CONTENT<br><br><br>
OMG CONTENT<br><br><br>
OMG CONTENT<br><br><br>
OMG EVEN MORE CONTENT<br><br><br><br><br>
OMG EVEN MORE CONTENT<br><br><br><br><br>
OMG EVEN MORE CONTENT<br><br><br><br><br>
OMG EVEN MORE CONTENT<br><br><br><br><br>
OMG EVEN MORE CONTENT<br><br><br><br><br>
OMG EVEN MORE CONTENT<br><br><br><br><br>
OMG EVEN MORE CONTENT<br><br><br><br><br>
OMG EVEN MORE CONTENT<br><br><br><br><br>
OMG EVEN MORE CONTENT<br><br><br><br><br>
<br><br><br>
</body>
</html>
<style type="text/css">
<!--
<body>
<html>
<head>
<title>no scroll bars please</title>
</head>
<body scroll="no">
blah<br>
blah<br>
blah<br>
blah<br>
blah<br>
blah<br>
Contents of your page... blah<br>
</body>
</html>