Fullscreen Scrollbar?
- Started
- Last post
- 8 Responses
- subSTANCE
hey guys
trying to hit a deadline here at work and am having trouble with the site. it's coded in javascript to expand to a full screen view. everything works well except i can't rid the page of the default scrollbar on the right side!
anybody ever have this problem before? know anything I could try? the code is taken from sites we have done before that have worked fine!
thanks in advance!
- unfittoprint0
on the HEAD
[substitute { and } for the 'less than', 'more than' signs]
{style type="text/css"}
{!--
HTML, body {
height: 100%;
width: 100%;
margin: 0px;
padding: 0px;
overflow: hidden;
}
--}
{/style}
- shaft0
In the fullscreen document's stylesheet:
body {
overflow-y: hidden;
}
- stewart0
scroll=NO in the body tag
http://www.htmlcodetutorial.com/…
i.m.o. this is the only way to make it work for both mac + pc, because the overflowhidden thing doesn't allways work on all mac browsers.
- unfittoprint0
stewart, I used too have the 'scroll=no'in my BODY tag, but if you want your site in compliance with XHTML 1.0 transitional rules you should use CSS sheets for that.
It works in IE and Mozilla/Firefox.
- stewart0
okay unfit,
but i tried EVERYTHING to do it the CSS way for a recent website, but it DIDNT work on my mac (but on the f*cking pc it was allright as usual).
- unfittoprint0
have you tried firefox for Mac?
- stewart0
nope, but i have mac NS7 and mac IE5, and it had to work on those OS9 browsers too.
anyway, i know we all have to switch to OSX and Firefox or Safari.