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
MYSQL commonly used query commands: mysql> sel...
Today I will talk about a CSS special effect of h...
Table of contents Abstraction and reuse Serial Se...
1 Question The company's server uses Apache, ...
Preface: During database operation and maintenanc...
Recently I have been saying that design needs to h...
This article shares the specific code for WeChat ...
Introduction to DNMP DNMP (Docker + Nginx + MySQL...
Table of contents Preface 1. Tomcat class loader ...
Friends who are learning HTML, CSS and JS front-e...
1. Grid layout (grid): It divides the web page in...
Empty link: That is, there is no link with a targ...
1.1 Copy the nginx installation package and insta...
Table of contents 1. Conditions for joint index f...
View the engines supported by the current databas...