css| Web | detailed
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
css| Design | Web page design
Use DIV+CSS to write site structure also has a period of time, in this process found that sometimes need to set the font to 12PX, and smaller than 14px font (13px in IE can not distinguish between the size and 12px).
Css
Now in the so-called "div+css" atmosphere, many people give up the form, in fact, should let each label make the most of it, in the performance data, we should still use table. However, when we create a table, we find that it has some default
css| Beginners | Web page
First, in the In-line line
Inline styles are used to directly use the Style property in HTML tags
text
Set paragraph text red.
But keep in mind that the final HTML should be independent and use the presentation document, so
css|xhtml| Float | Web page
Recently in doing a document, about XHTML and CSS, read a lot of information, here first the summary of things to write out. The first is the div+css question, the most basic, how to use them to layout.
Floating
CSS
css| Resolution | browser
Explain:
var ie1024= "";var ie800= "";var ie1152= "";var ieother= "";
Quotation marks are filled in separately, when the user uses IE and the resolution is 1024*768,800*600,1152*864 to use the CSS filename.
var firefox1024=
css| Navigation | Page Current page-for example, now the page is the homepage, then the first page of the navigation bar color and other columns are different, to give visitors a clear indication.
Below the specific approach, the basic menu
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| Web page
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
css| Tips | page | style sheet
CSS style sheet Common tips
· The UL label in Mozilla defaults to have the padding value, but in IE only margin has the value.
· The same class selector can appear repeatedly in one document, but only once for the ID
css| Enlarge | Web page
Look at the following HTML code:
snow capped mountains
Here is the CSS code:
/* Common Styling * *A {color: #000;}a:hover {text-decoration:none;}a:visited {color: #000;}/* Slides Styling * *. photo {padding:20px; background: #
css| Tips
A pseudo class can be viewed as a special class selector, a special selector that can be automatically recognized by browsers that support CSS. Its greatest use is that you can define different style effects on links in different states.
1.
css| Skills | link | design | Web Page design Sometimes we may want internal links to display different styles from external links, such as external links. I want to add a small icon next to the link to indicate that it is an external link that
css| Skills | Web page
With the development of the Internet economy, the number of professional websites, public service websites and enterprise portals are increasing rapidly, and the information of each website is also in an explosive growth trend.
css| Filter | web | syntax
Style= "Filter: Filter Name (property 1= value 1, property 2= value 2 ...)"
Where the "filter name" is the name you see in the Filter Drop-down list in the DW style Setup module, the attribute value is only populated with
css| Web page
Margin
div CSS Layout Paragraph use label, for the upper and lower margins of the paragraph (indentation) can use the margin tag to define the style. Margin is defined as the top, bottom, left, and right four directions, and
css| Standard | interactive | mouse | web
When we browse the Web, we often encounter some interaction effects. For example, some changes occur when the container is moved over the mouse. These effects can be implemented in a variety of ways. Now
css| Tips
The CSS selector selector is the basis for our CSS page layouts. CSS selector In the end what, how to use it rationally? Selectors can be divided into three categories, except for the first class of HTML selector, we can name the other two
css| Advanced | tutorials
The CSS positioning property allows you to position elements.
CSS positioning (positioning) instance:
positioning: Relative positioning
This example shows how to position an element relative to its normal position.
this is
css| Skills | Web page
common methods for CSS layoutFloat:none|left|right
Take value:
None: default value. object does not float
Left: text flows to the right of the object
Right: text flows to the left of the object
How does it work, look at a
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.