Eric's
Article In reset reloaded
Code :
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
1
: Focus
{}
{ 2 outline : 0 ; 3 }
: Why do I set outline to 0 in the focus rule?
Div positioning: Position:Absolute | relative | static
Default Value: static;
Apart from setting Positioning Based on the Border Width and margin, other styles cannot be used for positioning.
Position: relative; (relative positioning)
After div
Let's talk about the case directly ....A: link {text-Decoration: none; color: #004779 ;}// style in the normal link state... no underlineA: active {text-Decoration: none; color: # 0000ff;} // activation status... no underlineA: visited
CSS style cascade Weight Values
According to the CSS specification, the more specific the style rules, the higher the weight. The basis for weight calculation is not manyArticleAs described, "class is 10, label is 1, ID is 100" and so on --
ArticleDirectory
How do you make position: fixed work in IE6?
How can we solve the "vibration" problem?
Source: http://www.qianduan.net/fix-ie6-dont-support-position-fixed-bug.html
Original article:
Mainstream browsers have increasingly improved support for css3 and HTML5, And the IE series, once heartbroken by many front-end developers, began to embrace standards. Just a few days ago, W3C HTML5CommunityLeader Shelley announced that HTML5
One of the most common layout class attributes in CSS is float, and the other is CSS positioning attribute position.
1. Position: static
The default positioning of all elements is position: static, which means that the element is not located and
-- 1 --
Style = "color: Orange")> ID selector (name)> class selector> label selector (P)
Multiple category selectors. The former prevails. (Class = "purple red") Purple
[The more special the style (the more targeted), the higher the priority]
Usage:
Eg: Height: 1% \ 9;
Summarize CSS hack of each IE version.
Hack
Example
IE6 (s)
IE6 (q)
IE7 (s)
IE7 (q)
IE8 (s)
IE8 (q)
*
* Color
Yes
Yes
Yes
Yes
No
I. Use CSS abbreviations
Using abbreviations can help reduce the size of your CSS file and make it easier to read. For the main rules of CSS abbreviations, see common CSS abbreviations syntax summary, which is not described here.
Ii. Define the
1. haslayout of IE/win
2. Floating float definition. Will the display attribute of the element change after float?
3. What are the rules applied by modern browsers in CSS 3.0 and css2.1?
4. The parent element defines an initial height. If the
1. CSS basic tutorial
Publisher: Turing education, people's post and telecommunications Publishing House
Original Title: Beginning CSS Web Development: From novice to professional
Original publisher: apress
Listed in China: Yes (Chinese translation)
Because Baidu does not support source code, please view another blog:
Http://www.blog.edu.cn/user4/dpxdqx/archives/2007/1867755.shtml
The following is the source code:
yanlei's Baidu blog yanlei's Education Blog welcome here topic navigation
CSS design guide (version 3rd)Original basic information: stylin' with CSS: a designer's guide author: (English) Charles Wyke-Smith Translator: Li songfeng series name: Turing programming series Press: people's post and telecommunications Press ISBN:
When I visited the Hemin blog, I saw an interview question. I checked the effect of displaying the ellipsis over the width and found this CSS version on the Internet. Of course, there are also JS version solutions, which are simple, but this idea is
Paste several images first:
The following is a piece of CSS code that distinguishes IE6, IE7, IE8, FF, chrome, and opera:
Code
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1.
Recently, I did not pay much attention to the meticulous work of artists such as Image Positioning and spatial layout in the later stages of the project. I used the temporary Gu Ge | du Niang. I found some CSS skills on the Internet and shared them
The border settings in HTML do not seem to have detailed settings in terms of text ..In terms of graphics, the label provides projects such as the heatace, vspace, and border to set borders...CSS has more detailed settings on the border extension
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