First, we put the following JS code into the and tags, to determine the browser resolution
The code is as follows
Copy Code
Explanation: var ie1024= "; var ie800=" "; var ie1152="; var ieother= ""; The
Tip: You can modify some of the code before running
let the background picture in the Body label Center vertically let label background picture horizontally vertically center Note: set html,body{width:100%; height:100%;
Often in the lower version of the browser such as IE6 view a Web page display integrity, while in IE7 and above browsers, Firefox and other browsers content display incomplete-DIV+CSS Web content display Incomplete Diagnostics tutorial.
The style
Tip: You can modify some of the code before running
css Position Location Implementation DIV is centered in the window I was in the middle of the window, hehe! float in the css to achieve the optimal front-end performance
When the content exceeds the width of the parent element, the line wraps automatically when no white-space:nowrap is set, and the White-space:nowrap style is not associated with the part of the scrollbar extension, the solution is as follows:
1,
Tip: You can modify some of the code before running
The HTML code is as follows home Special Signing request signing service | insurance Insurance Information new member Insurance | order Order Management
Grammar:
margin:auto| length
Parameters:
Auto: value is set to the value of the relative edge
Length : A value or a ratio of white to a floating-point number and a unit identifier. Percentages are based on the height of the object. For inline
In general, you can control the object's hide/display by setting the object's Display=none/block, but many HTML elements are not able to achieve the desired effect under Firefox.
For example, for table elements, to control TD's hiding and display,
A page has been downloaded with a style as follows:#slinner div#slidenum DIV.slideNumber:unknown {clear:both; Display:block; Visibility:hidden; height:0px; Content: "."} I don't quite know what it means.#slinner Div#slidenum
Shorthand for font
CSS many elements have shorthand, font to special and strict, font-size and font-family is necessary, and in this order. Because the font used more places, so he may be particularly mentioned. Abbreviations can effectively reduce
Tip: You can modify some of the code before running
miracle ' s blog-animated navigation /*welcome to Miracle ' s blog*/* {MA
rgin:0;
padding:0;
Body {background: #333;}
/*header*/. HEADER {height:25px;
Background: #222;
Tip: You can modify some of the code before running
pull-down menu video Health & Lt;li> Real Estate Guangzhou Beijing Shanghai shenzhen Tianjin Chongqing Wuhan Hangzhou Sichuan home Education & lt;li>
Tip: You can modify some of the code before running
pull-down menu video health Room Production Guangzhou Beijing Shanghai Shenzhen Tianjin Chongqing Wuhan Hangzhou Sichuan home education Read Books
Tip: You can modify some of the code before running
css rollover blogroll w finishing more JS special effects please visit: Web Design enthusiasts http://www.111cn.net Blogroll example site example site example site example site
The implementation of the method has CSS and JS three methods, the following we look at.
Multiple columns in the Web page is a common layout, generally using the percentage of the Width property can be easily implemented.
But what I
Correct use of tagA hyperlink is the most commonly used html tag in a blog. It is used to link to other articles or sites. We recommend that you add the following attributes when using the tag:Href: Set the url or anchor of the link.Target: set the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service