What are you looking? You don't know how to catch the birds? I am a kind and sharp Huang que. I dare not peat it alone. I would like to peat it with you. Of course, in order to avoid losing face of our Huang que family, we must peat the exit field
Position has four attribute values:
Relative
Absolute
Fixed
Static
The following describes the four attributes.
1. Relative
Relative attribute, relative positioning, we need to find out which object it is relative to for
=========== Common CSSCode==============
Font color:# 00903a;
Background Color: Background-color:#7cffe7;
--------------------------------------------------------------------------------
Border Width: border-width:5px;
Top
1. Sub-selector: indicates the element that only belongs to the immediate child of the element, excluding the child node and other descendants.
CSS is represented by:>.
2. kinship selector: If two HTML tags have the same parent element, they are
CSS 3 Standard
With the emergence of Ajax and jquery, CSS is constantly improving itself.
CSS 3 draws on the needs of web development over the years and puts forward many novel CSS features.
For example, the border-radius attribute of
Common CSS naming rules
Header: Header
Content: content/Container
End: footer
Navigation: nav
Sidebar: sidebar
Column: Column
Overall Layout width of the page peripheral control: wrapper
Left right center
Logon entry: loginbar
In CSS, the content about position positioning is:Position: relative | absolute | static | fixed
Static(Static) No special settings, follow the basic positioning rules, and do not use Z-index for hierarchical classification.
Relative(
The following figure shows how to convert objects to div1_css, and how to change objects to a Web page. However, an index.html page, CSS folder, and image folder are added each time. However, if a website is composed of many webpages, there will be
Creating star rating effects with pure CSS is increasingly used in the network Ria. Combined with Ajax and other technologies, it can render Excellent visual effects and excellent user experience. In this articleArticleBefore getting started, you
CSS tutorial: thoroughly understand the Z-index attributes. Most CSS attributes are easy to use. Often, when you use CSS attributes for markup language elements, the results are immediately displayed as you refresh the page. Other CSS attributes are
Source: http://www.cnblogs.com/Zigzag/archive/2009/02/19/position.html
Many other attributes of CSS are easy to understand, such as fonts, texts, and backgrounds. Some CSS books will also introduce these simple attributes in a great way, but
Different browsers use CSS hack:
Difference between IE6 and other browsers:Background: orange; _ Background: blue;
Difference between IE6 and IE7:Background: Green! Important; Background: blue;
Difference between IE6, IE7, and FF:Background:
in the pop-up box with a scroll bar Test Rolling Test Rolling test scrolling
Note that the parsing mode of the web page must be declared. if Javascript is used for implementation, the pop-up box will flash when the scroll
1. concept:
In-Row Element: an inline element. It can only contain text or other inline elements. Common inline elements include , , and .
Block Element: generally starting from a new line, it can hold text, other inline elements and other block
New web project home Design development consultancy about Design development consultancy News Design development consultancy Products design development consultancy
Paste it directly.Code.
HTML file
Youku Niu Ren more mariyd taotu listener spring, autumn, and evening
star space more space you like taotu listener [90 space]
Youku public welfare more official public
When preparing the webpage, I thought that after setting the parent's position as relative, the float in the CSS OF THE FIRST Div can be completely left empty, by default, the first div is placed on the left.
I found out today that this idea is
An HTML document is a tree structure. Each element forms a 'tree' view based on a hierarchy. Each element in the document tree is either the parent element of another element or the child element of another element. In this way, the elements form a
1. Simplified CSS font definition rulesThe general writing method is as follows:
Font-weight: bold;Font-style: italic;Font-varient: Small-caps;Font-size: 1em;Line-Height: 1.5em;Font-family: verdana, sans-serif
In fact, you can write it in a more
Conversion from: silent blog
Based on some CSS writing experience and how to improve rendering efficiency and the resources consumed, let's talk about CSS rendering efficiency and efficient CSS writing.
1. hexadecimal color value pairs of digits and
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