HTML allows partial forced scroll bars to not destroy the overall style and layout

HTML allows partial forced scroll bars to not destroy the overall style and layout
First post the effect picture:

A scroll bar appears locally so that the overall style and layout will not be destroyed.

Example code:

Copy code
The code is as follows:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Add horizontal scroll bar to HTML page</title>
</head>
<body>
<DIV style=" OVERFLOW-X: scroll; scrollbar-face-color:#B3DDF7;scrollbar-shadow-color:#B3DDF7;scrollbar-highlight-color:#B3DDF7;scrollbar-3dlight-color:#EBEBE4;scrollbar-darkshadow-color:#EBEBE4;scrollbar-track-color:#F4F4F0;scrollbar-arrow-color:#000000; width:752px;HEIGHT: 380px" align=center>
<table width="1440" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>p</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>pppppppppppppppppp</td>
<td>ppppppppppppp</td>
<td>ppppppppppppppppppp</td>
<td>pppppppppppppppppppppppppppppp</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</div>
</body>
</html>

Copy the above code to a text document, change the text extension from txt to .html to preview the effect

<<:  Make your website automatically use IE7 compatibility mode when browsing IE8

>>:  Docker builds Redis5.0 and mounts data

Recommend

CSS3 click button circular progress tick effect implementation code

Table of contents 8. CSS3 click button circular p...

Serial and parallel operations in JavaScript

Table of contents 1. Introduction 2. es5 method 3...

Tutorial on how to deploy LNMP and enable HTTPS service

What is LNMP: Linux+Nginx+Mysql+(php-fpm,php-mysq...

Implementing Markdown rendering in Vue single-page application

When rendering Markdown before, I used the previe...

Implementation code of Nginx anti-hotlink and optimization in Linux

Hide version number The version number is not hid...

How to turn a jar package into a docker container

How to turn a jar package into a docker container...

mysql 8.0.15 winx64 decompression version graphic installation tutorial

Every time after installing the system, I have to...

Detailed explanation of the steps of using ElementUI in actual projects

Table of contents 1. Table self-sorting 2. Paging...

ie filter collection

IE gave us a headache in the early stages of deve...

SQL Server database error 5123 solution

Because I have a database tutorial based on SQL S...

JS Canvas interface and animation effects

Table of contents Overview Canvas API: Drawing Gr...