Jump to content

Scrolling


Nudua
 Share

Recommended Posts

How do you hide the scrollbar/it`s not possible to scroll down the page?

If there is not enough text to fill the page, the scrollbar should not appear. The top and bottom arrow boxes are there but not the bar.If you are using frames, and want to have no scrollbars appear even though the graphic is too large to fit, add scrolling=no
src="stone.html" scrolling="no"

Link to comment
Share on other sites

<body style="overflow: hidden">

I though of that first, but it didnt`t work...HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html><head><title>Any site</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /></head><body style="overflow: hidden"><div id="left"><img id="left" src="isramme.bmp" /></div><div id="center"><div id="topp"><img id="left2" src="isramme3.bmp" /><img id="right2" src="isramme4.bmp" /></div><div id="bunn"><img id="left3" src="isramme5.bmp" /><img id="right3" src="isramme6.bmp" /><div id="topp2"><img id="topp" src="isramme7.bmp" /></div></div></div><div id="right"><img id="right" src="isramme2.bmp" /></div></body></html>

CSS:

body {background-color: #222222;margin: 0px;}div#left {background-color: #222222;width: 12%;height: 100%;float: left;margin: 0px;padding: 0px;}div#center {background-color: #222222;width: 76%;height: 100%;margin: 0px;float: left;padding: 0px;}div#topp {background-color: #222222;width: 100%;height: 16%;padding: 0px;margin: 0px;}div#bunn {background-color: #222222;width: 100%;height: 84%;margin: 0px;padding: 0px;}div#topp2 {background-color: #222222;width: 96%;}div#right {background-color: #222222;width: 12%;height: 100%;margin: 0px;float: right;}img#left {float: right;height: 100%;overflow: hidden;}img#right {height: 100%;float: left;margin: 0px;position: relative;left: -1px;}img#left2 {width: 2%;height: 100%;margin: 0px;float: left;}img#right2 {width: 2%;height: 100%;margin: 0px;float: right;}img#left3 {width: 2%;height: 100%;margin: 0px;float: left;}img#right3 {width: 2%;height: 100%;margin: 0px;float: right;}img#topp {width: 100%;margin: 0px;position: relative;top: -3px;}

Is it maybe because it dosen`t work on XHTML?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...