Click to See Complete Forum and Search --> : html {overflow: hidden;} question


robindean
04-18-2007, 05:05 PM
I'm trying to put this code into my .css file and have it only affect one particular document.

html {overflow: hidden;}

Defining a class in <html> won't validate, though. Neither will defining an id.

How can I place this within my .css file, have it effect only one document and validate as well? :o

gil davis
04-18-2007, 06:53 PM
assign it to the body, either the tag or an id.

robindean
04-18-2007, 07:28 PM
I did already. In searching for a working solution to the "explorer inactive scrollbar still appearing" issue, I found that it only works if you use html, body {code: code;}. So, I'm trying to split them up a bit. I've got the <body class="blah"> making use of the body part but the html side currently is put within style tags which I'd like to avoid for organizational purposes.

Other suggestions?