css| Grammar Author: Atzie 2005-4-8 15:28:00
Using abbreviations can help reduce the size of your CSS files and make it easier to read. The main rules for CSS abbreviations are as follows:
Color
16 The color value of the binary, if the value of
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
css| Control
For a long time, web developers have developed interactive controls by using pictures and JavaScript scripting code. However, in many cases using CSS rules to define the format of text hyperlinks is a good choice for developing
CSS do not know whether you read the previous two after the use of style has had a little experience, in fact, the previous article is just the most basic style table application. I would like to ask, the reader has not felt that the HTML in the
css| Tips
Screen IE browser (ie do not show)
*:lang (en) Select {font:12px!important}/*ff Dedicated * *Select:empty {font:12px!important}/*safari Visible * *Here the Select is a selector and is replaced according to the situation. The second
css| Zoom | show
The code is as follows:
12345678910
The key to amplification is the positioning of elements, position:relative and negative margin. To cram position knowledge:
Setting this property value to absolute drags the object away from the
css| Page | question
1, div center body {Text-align:center}
div {margin-right:auto; margin-left:auto;}
Description
For IE, the parent element defines "text-align:center;" It's okay.
For other browsers, such as FF, only this is not centered,
css| Web page | style sheet IE vs FF
CSS Compatibility essentials:
DOCTYPE affect CSS processing
Ff:div set Margin-left, Margin-right is already centered when auto, IE not
Ff:body set Text-align, Div needs to set Margin:auto (mainly
css| Page | style sheet
1. Tags in mozilla default is padding value, and in IE only margin have a value.
2. The same class selector can appear repeatedly in one document, but only once for the ID selector, and for a label using both class and ID for
css| Page | Questions about this article has long wanted to write, just because they are too lazy to drag until now. I would like to talk about some of the more easily overlooked issues in Web page production, is not what advanced tutorials, but
css| link | style sheet
Does CSS stylesheet file use link to invoke a separate file, or is it better to use the inline page directly? Or what exactly are the two ways to use?
In the past, we usually used style sheets in 2 ways:
Page inline: Just
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| Float | Tips According to the CSS specification, floating elements (floats) are moved out of the document stream without affecting the layout of the block box but only the arrangement of the inline box (usually text). Therefore, when its height
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| Skills | web | issues
Background-color strange into the phase of the pro element
This is a very strange phenomenon. It is not yet clear what the specific cause of the formation is, Background-color will be strangely into the elements of the
css| Tips
13. Clear Floating
A very common CSS problem, when positioning using a float, the layer below is covered by the floating layer, or the layer nesting of the child layer beyond the outer range.
The usual solution is to add an extra element
css| Filter When you use the "Glow" attribute on an object, the edge of the object produces a glow-like effect. Its expression is as follows:
Filter:glow (Color=color,strength=strength)
There are only two parameters for the Glow property: Color is
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| Web page
You can add the style specified by CSS to a Web page in the following 3 ways:
1. Add a hyperlink to the HTML file and connect to the external CSS file
This method is the easiest way to manage the Web page style of the entire website.
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