One, the management of CSS
I personally feel more important, and the Internet seems to be relatively few say this
If you manage well, you'll save a lot of time and trouble when you call and define CSS
Here are some of my accumulated
The first is why you want to import or link CSS externally
Because a page has a lot of pages, which will use a lot of CSS (and some of them are duplicated), if each page is defined separately, the following is the management method, in the Images folder under Index, CSS folder with the same sibling, easy to invoke and manage
Start to do the site, because we mostly in PS have got the floor plan, at this time can initially clear the same part of the CSS
Like the bottom, the body.
Suppose there are now a, B, c three styles appearing on the home page
Also appears in the child page
Then you define a in the first page, and then you will b,c, also defined in a, in the CSS folder, there will only be a
But when the child page imports A, you can see A,B,C and then apply it in turn.
And then a style defined in a page that uses a variety of hyperlinks
A:link
a:visited
A:hover
B:link
b:visited
B:hover
Just change the front, OK?
But do not use CSS do not use the number of names, such as 123 or the like, do not use SS12 and other numbers and letters of the combination
Because although the number is OK, but in the DW, he is displayed in the default way, although on the last page of the effect is the same, but in the DW looks very messy, so ... It's best to name it in plain letters.
three, about row height
Generally used in pixels and% to set
But it's best to use% to set the
Because the pixels displayed in the DW are somewhat out of line with the Web page.
and% set is the same as on the page
Just look at the picture.