How to Hide the Scrollbar on an HTML Page
All Answers
total answers (1)
Severity: 8192
Message: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
Filename: libraries/Filtered_db.php
Line Number: 23
total answers (1)
Use the CSS
overflow
PropertyYou can simply apply the CSS
overflow
property with the valuehidden
on the<body>
element to hide scroll bar on an HTML page. However, content will be clipped if necessary to fit the padding box.Let's try out the following example to understand how it basically works:
Alternatively, you can hide the horizontal scrollbar by setting the overflow-x property to hidden and the vertical scrollbar by setting the overflow-y property to hidden.
need an explanation for this answer? contact us directly to get an explanation for this answer