overflow: ***;

Browser
  • IE
  • Cr
  • Sf
  • Fx
  • O

The overflow property controls what happens to the overflowed content.

Applying this property to the BODY (or HTML) element applies the specified style to an entire page.

When the "hidden" value is specified for this property, the scrollbars are not displayed.


body {
overflow: hidden;
}

Property Value Explanation
overflow hidden scrollbars are not displayed
The element to which the style should be applied
  • Standards mode : Apply this style to the HTML and BODY element.
  • Quirks mode : Apply this style to the BODY element.

Example of Standards mode :
html, body {
overflow: hidden;
}

Example


<html>
<head>
<title>TAG index</title>

<style type="text/css">

body {
overflow: hidden;
}

</style>

</head>
<body>



</body>
</html>

Output
Example pagenew window