Page 1 of 1

sroll="no" in the body-tag

Posted: Wed 9. May 2007, 21:44
by ThomasL
hi folks,

dont ask why - i know its bullshit forbit the scrolling. but when the client wants absolut, i dont start to discuss.

so now I'm searching the body-tag to put scroll="no" inside. unfortunately the IE7 dont like the html, body { overflow: hidden; }. thats why i need scroll="no"

I've found one time the body in the index.php - but i didnt got an effect.
can somebody help me?

gracias

Posted: Wed 9. May 2007, 21:51
by update
In your CSS put something like the following

Code: Select all

html {
	height:100%; 
	max-height:100%; 
	padding:0; 
	margin:0; 
	border:0; 
	background:rgb(209,205,193);
	font-size:76%; 
	font-family:georgia, palatino linotype, times new roman, serif;
	/* hide overflow:hidden from IE5/Mac */ 
	/* \*/ 
	overflow: hidden; 
	/* */ 
	}

body {
	height:100%; 
	max-height:100%; 
	overflow:hidden;
	padding:0; 
	margin:0; 
	border:0;
	background:rgb(209,205,193);
	}
This should kill all your scroll bars :shock:

The important switch is

Code: Select all

	overflow:hidden;
Greetings
claus

Posted: Wed 9. May 2007, 21:55
by ThomasL
what a hack, incredible !!!

thanks a lot :D :D