IE directly with:
Word-break:break-all; /* Allow word wrapping in words */
Word-wrap:break-word; /* content will be wrapped within the boundary */
/* The default to note is: */
Word-wrap:normal/* Allow content to open the specified window border
1. Hexadecimal color value pairs of digits and case
When you write hexadecimal color values you may use lowercase letters or omit them to 3 digits, and there's no real data on how this is going to affect the rendering efficiency of the browser, but
css table 1px border Cell-script home Scripting House scripting House & lt;/td> Scripting House scripting House scripting House Scripting House scripting House scripting House Script House
[Ctrl + A full
CSS table out of hidden fixed layout algorithm. In this algorithm, the horizontal layout is based only on the width of the table, the width of the table border, the cell spacing, the width of the column, and the table content independent
Block IE browser (ie not shown)
Copy CodeThe code is as follows:
*:lang (ZH) select {font:12px!important;}/*ff visible, special statement: Due to the latest opera update, this sentence has now become FF's dedicated hack*/
select:empty
CSS implementation, using expression but in the actual middle of the recommended use, occupy resources and Firefox browser does not support
< ;tr> &L Ttr> < ;tr>
...
Declared in the GLOBAL.CSS
#myArticle {
width:400px;
height:300px;
}
In this case, directly through the JS getElementById (' myarticle '). Style.width is unable to get the value of 400px, because this value is defined in the CSS, so you
Although many of the documents mentioned in this regard, many friends still make mistakes on these issues. Today we look at these CSS skills, read carefully, perhaps you do not fully understand that you can search, expand the knowledge you want to
cascading Style sheets:the Definitive Guide
, 2nd Edition is a thorough review of all aspects of CSS2.1 and a comprehensive guide to CSS implementation. The book includes new content on positioning, lists and generated content, table layout, user
First, look at the page often appear in the button and text box of the original!
In contrast, how can we change the shape of the text box and the button? The following I provide you with two kinds of text box and button style as an example
Content again rich site, if slow to inaccessible is meaningless; SEO do a good site, if the search spider can not catch is also useless (page efficiency and search spider relationship between, need further confirmation, this for and the previous
Text Justification:
Copy CodeThe code is as follows:
text-align:justify;
Text-justify:inter-ideograph;
Clear float:
Copy CodeThe code is as follows:
. clear{clear:both;line-height:0;height:0;font-size:0;}
Clear floating pseudo-class:
Copy
Hihi, hello everyone ~ Recently, a lot of people have mentioned how to choose the font on the Web page problem. Although the problem is small, but is the front-end development of the basic, because the current Web page, or text information-based,
The worse thing is, even if you just for IE design, regardless of other browsers, because the IE model can be said to be an elusive monster, so you simply for IE design will encounter many problems, found that a lot of effects are always around to
Use JavaScript expressions in CSS expression. CSS properties are set based on the results of the JavaScript expression calculations.
CSS expression does not work in other browsers, so it is useful to set it separately for IE in cross-browser
Today to a foreigner stand saw this he stood on the very smooth but not JS, curious, original. Clever, share, relatively save resources. But the effect is good, easy to use, taking into account the. Ha ha
Copy the Code code as follows:
The functionality of CSS is very powerful, for the performance of the elements and the layout of the page provides a very powerful function, which is mainly in our flexible operation, in this area provides a rich and valuable variety of tutorials
1, if in the style file or the page file code directly with the Display:none element is hidden, loading the page, in the absence of the JS set style to make the element display, the use of JS code will not be able to correctly obtain some of the
According to the time automatically adjust the site style is a good idea, this time automatically adjust the site style is not anything new, remember a long ago have seen similar articles or methods, but there was no special attention. The following
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