Posted in CSS + XHTML on 06/08/2009 12:32:57 | reprinted Please note: from Cui Kai's blog
The Forum mentioned the following question: "What are the advantages of CSS technology that uses a background image as a page ?"
Briefly introduces the
ArticleDirectory
Static
Fixed
Relative
Absolute
Clip
Z-Index
The position attribute is used for element locating on the webpage. Available position values include:Static
Default value. The element is not located and appears in the
Date: 2013-4-26 Source: gbin1.com
Related reading:
Simple demonstration using flexbox Layout
HTML5 and css3 provide network developers with new syntax tags, local animation tools, server-side fonts, and other new features. These are not the
In the past, although I often heard people say CSS, I have never used it again.
Now I want to move my blog here. I don't have to worry about it. There are too few templates and it's hard to find a slightly satisfactory one. The classification
A small error code will invalidate the style in IE.
# Topnav, # header,. Line,. threecolarea,. twocolarea {Width: 960px;Margin: 0 auto;/* uniformly set the outer width */Nonstandard writingClear: both;}
The preceding method causes the IE to
View code
Html > Head > Title > Css1 Title > Style > H1 { Color : Red ; Font-size : 14px ; Font-family : "Sans serif" ; } P { Text-align : Center ; } Body { Color : Blue ;
1.>
In Div, if the height is set to be smaller than 20px and the content is blank, the height setting in IE6 does not work, and IE sets a default height of 20px, the solution is to set font-size: 1px, which is to set the default font size to the
/* CSS styles supported by Google's browser kernel */@ Media screen and (-WebKit-Min-device-pixel-ratio: 0 ){
Style
}
/* CSS styles specially recognized for IE6 */* Html. searchbox{
Style
}
The CSS method for the Firefox
The CSS translucent filter can be used in Firefox and IE, and is recorded for backup:
CSS code. Test {Background: #000;Color: white;Width: 200px;Position: absolute;Left: 10px;Top: 10px;Filter: alpha (opacity = 10 );-Moz-opacity:. 1;Opacity:
The principle is to add two to three layers to a layer. However, these layers only have left and right edges, have a background color at the top and bottom, and they all have a length gap. That's it, the following is an example:
No title page
There are three basic CSS selectors: Tag selector, category selector, and Id selector.
1. Tag Selector
The names of each HTML tag can be used as the names of the corresponding tag selector, such as H1, P, and so on.
2. CATEGORY Selector
The name of
Document directory
Div + CSS technical advantages
Advantages of Div + CSS standard web
Search Optimization
Div + CSS technical advantages: the industry is paying more and more attention to the standardized design of Div + CSS, from various
Get CSS styles in jqueryCSS (name): Access the style attribute of the First Matching ElementCSS (name, value): set the value of a style attribute among all matching elements.CSS (properties): sets a "name/value pair" object as the style attribute of
Document directory
Summary:
It may be the relationship between a microblog. Someone commented today that the memory usage will soar with sprites... This problem is also discussed quite a lot. So, after using Sprite, will it occupy a lot of
Document directory
Visual CSS ruler
CSS debugging
Firebug is a development plug-in under Firefox, and is now one of Firefox's five-star powerful recommendation plug-ins. It integrates HTML viewing and editing, the Javascript console, and the
Our friends at the development front-end know that even if we use CSS2.0, there will still be many problems. To develop a well-compatible page, the IETester is always around us, it can help us test how our page looks like in various IE versions, and
1. style profilingA style consists of two parts: the Selector and the Declaration Block declarative Block ). The selector may be a large title, text, or a photo. The Declaration block turns the text blue and adds borders to paragraphs. For
CSS
Js get attributes
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Document. getElementById (id). currentStyle. Attribute;
Modify attributes in js
Code highlighting produced by Actipro
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