How to hide and remove scroll bars in HTML

高洛峰
Release: 2017-02-18 15:21:42
Original
3439 people have browsed it

1. Add attributes to html tag

XML/HTML CodeCopy content to clipboard

<htmllang="en"class="no- ie"style="overflow:hidden;">


2.Add the following code to the body

XML/HTML CodeCopy the content to the clipboard

Copy after login


How to remove scroll bars from html pages

In order to prevent the previous css file from overwriting the body's style

Write a css directly in the html


XML/HTML CodeCopy the content to the clipboard

Copy after login


##This way there will be no scroll bar

All of the above The following is the HTML code for hiding scroll bars and removing scroll bars introduced by the editor. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank you all for your support of the Script House website!


For more HTML related articles on methods of hiding scroll bars and removing scroll bars, please pay attention to the PHP Chinese website!


source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!