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> </td> <td> </td> <td> </td> <td> </td> </tr> <tr> <td> </td> <td>pppppppppppppppppp</td> <td>ppppppppppppp</td> <td>ppppppppppppppppppp</td> <td>pppppppppppppppppppppppppppppp</td> </tr> <tr> <td> </td> <td> </td> <td> </td> <td> </td> <td> </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
One day, the leader put forward a requirement to ...
Table of contents 8. CSS3 click button circular p...
Table of contents 1. Introduction 2. es5 method 3...
What is LNMP: Linux+Nginx+Mysql+(php-fpm,php-mysq...
When rendering Markdown before, I used the previe...
Hide version number The version number is not hid...
How to turn a jar package into a docker container...
MySQL official website download address: https://...
Every time after installing the system, I have to...
Table of contents 1. Table self-sorting 2. Paging...
Nginx uses regular expressions to automatically m...
As we all know, the CSS position absolute is set ...
IE gave us a headache in the early stages of deve...
Because I have a database tutorial based on SQL S...
Table of contents Overview Canvas API: Drawing Gr...