CSS
1. position:static| No locationPosition:static is the default value for all elements to be positioned, usually without reference, unless there is a need to cancel the inheritance of other positioning
Example
#div-1 { position:static;}
2.
css| Skills | website Refactoring | style Sheet | Optimize one, use CSS abbreviation
Using abbreviations can help reduce the size of your CSS files and make it easier to read. The main rules for CSS abbreviations refer to the common CSS
One, a basic declaration: the most typical form of CSS declaration. element {Property:value} is expressed in Chinese, that is, the symbol (label) {Property (property) Name: Set Value} For example: H3 {Color:blue} is a set of declarations. Second,
CSS this time to continue to introduce some of the style sheet application techniques. As you know the style sheet is defined for the container (tag), anchor (anchor, or hyperlink tag) is a very large container in HTML. It implements HTML's most
Css
Empty two words before the paragraph, do not use the space again. You should use the first line indent text-indent.
Text-indent can make the first line in the container indent a certain unit. For example, Chinese paragraphs usually empty two
css| Floating | tips | Web page about closed floating elements (clearing float) Now a lot of, you don't know the words to OLD9 blog look, there is a closed floating element.
These methods my favorite is to use: after Pseudo-class dynamic embedding
css| Tips
15. Importing (import) and hiding CSS
Since older browsers do not support CSS, a common practice is to use the @import technique to hide the CSS. For example:
@import URL (main.css);
However, this method does not work for 4, which makes
css| tips
one. Using CSS abbreviations
Using abbreviations can help reduce the size of your CSS files and make it easier to read. The main rules for CSS abbreviations refer to the common CSS abbreviation syntax summary, which does not expand the
css| background Picture | question
In the traditional table layout, the background image is directly applied to the table, in general, the Background-image attribute of CSS is used very little, or simply do not use. The application CSS page layout,
css| Standard | skills | Web page
Of course, to generate thumbnails of this work if the program to complete, the effect will be much better, but sometimes for some reason, such as the server does not support GD and so on, it is inevitable to ask for
css| Standard | beginners
Beginner's tutorial, mainly tells you to learn CSS is not difficult.
The CSS layout advocate's voice is being overwritten by the sound of "table layout benefits". One myth is that CSS is hard to learn. In fact, CSS is no
The css| Filter Wave property is used to disrupt objects in a vertical ripple style. Its expression is as follows:
Filter:wave (False), freq= frequency, lightstrength= enhances light efficiency,phase= offset, strength= strength)
The expression of
css| Page | questions
The application of DIV+CSS Web page layout, the production of Web-standard Web site, easy to appear some problems.Now summarize so that you can see that the problem is there.
A. CSS checksum problem
We design Web pages that are
css|javascript| Dynamic | load
If you have a lot of related CSS files to load together, or want to dynamically load different CSS files, then the following methods you must be helpful.The first type: generally used in external CSS files to load the
css| Buttons | The efficiency of designing CSS buttons is far more efficient than basic image buttons because they are all text-based. All you want to use XHTML tags is just a--css style for the rest of the list. Also, you don't need any JavaScript
Css
The following is a reference fragment:/* Common Styling * *
/* Set up the overall width of the menu Div, the font and the margins * *
. menu {
Font-family:arial, Sans-serif;
width:750px;
margin:0;
margin:50px 0;
}
/* Remove the bullets and set
Css
Learning Web standards Friends are generally from the study of CSS began, why? Because CSS is a very interesting language, it can make our web pages ever-changing. Maybe we started the contact only because the link style changes, and then
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.