Simple implementation of html hiding scroll bar

Simple implementation of html hiding scroll bar

1. HTML tags with attributes

XML/HTML CodeCopy content to clipboard
  1. < html   lang = "en"   class = "no-ie"   style = "overflow:hidden;" >   

2. Add the following code to body

XML/HTML CodeCopy content to clipboard
  1. < style   type = "text/css" >      
  2. html{
  3. overflow-x:hidden;
  4. overflow-y: hidden;
  5. }
  6. </ style >   

The above simple implementation of hiding the scroll bar in html is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM.

Original URL: http://www.cnblogs.com/rocky-fang/p/5633053.html

<<:  Three ways to implement waterfall flow layout

>>:  Example of using negative margin to achieve average layout in CSS

Recommend

js array entries() Get iteration method

Table of contents 1. Detailed syntax of entires()...

Why is your like statement not indexed?

Preface This article aims to explain the most bor...

MySQL 5.7.17 latest installation tutorial with pictures and text

mysql-5.7.17-winx64 is the latest version of MySQ...

The difference between Div and table in HTML (discussed in detail in all aspects)

1: Differences in speed and loading methods The di...

How to configure CDN scheduling using Nginx_geo module

Introducing the Geo module of Nginx The geo direc...

XHTML tags should be used properly

<br />In previous tutorials of 123WORDPRESS....

Two ways to clear float in HTML

1. Clear floating method 1 Set the height of the ...

Shell script nginx automation script

This script can satisfy the operations of startin...

Windows 2016 Server Security Settings

Table of contents System update configuration Cha...

How to add configuration options to Discuz! Forum

Discuz! Forum has many configuration options in th...

How to install nginx under Linux

Nginx is developed in C language and is recommend...

CSS sets the box container (div) height to always be 100%

Preface Sometimes you need to keep the height of ...

Access the MySQL database by entering the DOS window through cmd under Windows

1. Press win + R and type cmd to enter the DOS wi...