CSS
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 { position:static;}
2.
css| Tutorial
12. Control the style of box
The style sheet provides a container box that will store all the operable styles of an object. Includes four aspects of the object itself, border whitespace, object borders, and object clearance.
Cssamazon.com this way of navigation has caused quite a lot of people to follow suit. So how did it do that? People who have experience in web design should not be hard to understand, if you do not know the details, by looking at the source code
Quasi-Modified selector (quasi-qualified selectors)
You should avoid overly modifying selectors, for example if you can write. nav{} try not to write ul.nav{}. Overly-modified selectors will affect performance, affect class reusability, and
1. First Line Indent
You know, from primary school, the teacher taught us that the beginning of the paragraph should be empty two lattice. While you use Word, there is a first line indent this function, but in the HTML of your space bar seems to
First of all, many years ago we used to clear the float like this.
CSS code copy content to clipboard
. clear{clear:both;line-height:0;}
It is now possible to see such code on many old sites, and it is quite violent and effective in solving
A while ago saw an article "use CSS3 imitation window7 Start Menu", the article only uses CSS3 to achieve the Windows 7 Start menu Dynamic effect, has long been attracted by the Wpf/silverlight mountain scenery, not chengxiang other mountains are
A CSS framework is usually just a collection of CSS files that include basic layouts, form styles, grids or simple structures, and style resets.
What is a CSS frame
Actually, let's start with the framework.The framework is a basic conceptual
css| Web page You can use the following 3 ways to add CSS-specific styling to your Web page:
1. Add a hyperlink to the HTML file and connect to the external CSS document
This method is the easiest way to manage the Web page style of the entire
css| navigation
item
subitem one
subitem two
subitem three
subitem four
item two
item three
item four
CSS:
#navcontainer {margin-left:30px;}
#navcontainer ul
{
margin:0;
padding:0;
List-style-type:none;
Font-family:verdana, Arial,
css| style Sheet
property name Font Property (font) font-family Font-style Font-variant Font-weight font-size Color and Background properties Color Background-color Background-image Background-repeat background-attachment
css| Effect | style sheet
A paragraph of text, when the mouse clicks on the text above, the text disappears, the original text of the place has immediately become a picture, when the mouse clicks on the picture, the picture disappears again, the
css| Skills | Web page
ID and class How to use, in the title of the use of the principles and techniques, the use of principles and techniques here is my summary of experience, not from which the book, so is not what authoritative discussion, please
css| Standard | page | page
It's easy to layout with CSS. If you are accustomed to using a table layout, you will feel more difficult at first. In fact, it is not difficult, but the motives are different, and in practice more meaningful.
You can
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| Solve | The problem
"CSS Crib Sheet" is designed to give a "one-stop" solution to many common CSS problems
If you've ever created one or two websites with CSS, it's easy to see that the browser's support for CSS is still far from perfect.
Css
Web sites built with the standards of the consortium can theoretically be separated from the structure by complete performance. For example, it is possible to completely change the skin (performance, CSS) without moving the skeleton (structure,
css| Tutorial
If you're finished with the HTML beginner tutorial, you can learn the CSS beginner tutorial and use CSS to work with HTML styles.
The following code covers all aspects of the beginner tutorial, saving the following CSS file and
Position This property determines how the element will be positioned. It has a value of about five kinds:
Each page can be viewed as stacked on top of a layer of pages, as shown in the following figure.
When the position is set to
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