PDA

View Full Version : No toolbar/scrolling



lectersmeal
July 24th, 2005, 11:05 PM
I'm using JavaScript to auto adjust an HTML file upon loading... both the size and the screen position. When doing this, how can I eliminate the toolbars and scrolling?

3pinter
July 25th, 2005, 02:40 AM
<style type="css/text">
.move{
overflow-x: hidden;
overflow-y: auto;
}
</style>


And use it like this:



<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<link rel="stylesheet" href="style.css">
<style type="css/text">
.move{
overflow-x: hidden;
overflow-y: hidden;
}
</style>
</head>

<body class="move">
</body>
</html>


This will hide the scrollbars.
If you change 'hidden' to 'auto', the scollbar appears if needed.

3Pinter
:smirk: