How Create page without scroll bars in all browsers

They have: 1 posts

Joined: May 2011

How Create page without scroll bars in all browsers

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

That would depend on the design of the site and how you want to handle the height. Do you want the main area to expand to fit the height of the browser? That can be done with JavaScript. Another option would be overflow:hidden, or using position:fixed to keep the footer at the bottom of the page.

He has: 15 posts

Joined: Feb 2013

In css, just type the following code-

body{
overflow:hidden;
}

and it will display no scroll bar and makes you fix.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.