Webcredible lists a lot of syntactic tips on CSS usage, which is more practical. In the past, many things only know how to write them, but seldom consider why. It seems that CSS can do much more than you know.
1. Simplified CSS font definition
One of the advantages of CSS is that it can reduce the page size and shorten the download time, not only the loading of the homepage, but also after the style sheet is cached, the loading of subsequent pages is also accelerated. This is true, but
The next day. I learned the basic usage of CSS yesterday, including CSS references and some common CSS attributes. Understanding the basic usage of CSS is only the first step to complete CSS + Div layout. When it comes to typographical layout,
CSS Basics
Reference Method:
Basic statement structure:Selector {attribute 1: attribute value 1; Attribute 2: attribute value 2}
Selector:It can be any identifier in HTML, such as TR, TD, P, Div, IMG, or even body.
Optional. The content in
Your web site always contains several modules which navigated by a menu or something, just like this: forums | blog | photos. you may want each module has its own color style, so the users can recognize each module easily and your site also be cool.
How to align a layer horizontally in a browser
Web Standard FAQ
Here we use the absolute percentage position, and the method of negative value of the external patch, the negative value is its own width and height divided by two
Another method
Templatesbox provides site templates that are unrestricted and are suitable for creating high-quality website designs. In fact, the site template is to allow you to make the best personal site layout with the least time.
Free CSS templates provides
Original address: http://naked.dustindiaz.com/
Welcome to the third year of CSS naked day!. The first year turned out great, and the second year even better. Now naked day '08 is going to push the numbers even further on10000l 9th.
English, Spanish,
The positioning attribute allows you to locate elements.
CSS positioning and floating
CSS provides some attributes for positioning and floating. With these attributes, you can create a column layout, overlap one part of the layout with the other
I saw it last night. Let's record it today.Sometimes we may want the internal link to display different styles from the external link.For example, I want to add a small icon next to the external link to indicate that it is an external link to tell
I saw it last night. Let's record it today.Sometimes we may want the internal link to display different styles from the external link.For example, I want to add a small icon next to the external link to indicate that it is an external link to tell
1. Check whether the HTML element has a spelling error and whether it has forgotten the ending mark.
Even veterans often mistake the DIV nesting relationship. You can use the Dreamweaver verification function to check whether there are any
Http://www.iqianduan.com/post/29.html
1. CSS style naming:
1. The general principle should be semantic-oriented to avoid structuring. For example, you can assign the ID righthandnav to a navigation bar, because you want it to appear on the right.
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