CSS: Copy code The code is as follows:html,body{ margin:0px; padding:0px; height: 100%; } .headbg{ background: black; color: white; height:48px; } .userManagerAll{ height: 100%; width: 100%; } .leftside{ background: #E6E6E6; float: left; height: 100%; width: 200px; margin: 0px; overflow-y:auto; } .rightside{ background: white; height: 100%; width:100%; align:right; } html Copy code The code is as follows:<div class="head"></div> <div class="All"> <div class="left side">1</div> <div class="right side">2</div> </div> Click the text box and the text disappears Copy code The code is as follows:<input name="textfield" style="color:#CCC;" type="text" value="Click the text to disappear" size="12" onclick="value='';focus()" onblur="if(value=='') value='Click the text to disappear;"/> |
<<: Detailed steps for configuring virtual hosts in nginx
>>: Regular expression usage in CSS selectors
I want to make a docker for cron scheduled tasks ...
This article shares the installation tutorial of ...
Today, my colleague encountered a very strange pr...
1. Merge the margins of sibling elements The effe...
For many people who are new to HTML, table <ta...
MySQL 5.7 and above versions provide direct query...
1. Introduction to MMM: MMM stands for Multi-Mast...
Our network management center serves as the manag...
This article shares the specific code of JavaScri...
Table of contents 1. Location Object 1. URL 2. Pr...
1. Download the RPM package corresponding to Linu...
File transfer between Windows and Linux (1) Use W...
FFMPEG 3.4.1 version parameter details Usage: ffm...
Table of contents The first method: When the MySQ...
1. First remotely connect to the server 2. Open S...