overflow: ***;

  • 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;


<title>TAG index</title>

<style type="text/css">

body {
overflow: hidden;




Example pagenew window