One, the management of CSS
I personally feel more important, and the Internet seems to be relatively rare to say this
If you manage it, 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 method of management, in the Images folder under Index, CSS folder with its peers, convenient to call and manage
Start to do the site, because we are mostly in PS have got the floor plan, this can be initially clear the same part of the CSS
such as the bottom, the body
Suppose there are now a, B, and C three styles appearing on the first page
And also appear in the sub-page
In the first page, define a, and then b,c, also defined in a, the CSS folder, will only appear a
But when you import a child page, you can see the a,b,c and then apply it in turn.
Then there is a page that defines styles with multiple hyperlinks
A:link
a:visited
A:hover
B:link
b:visited
B:hover
Just replace the front with OK.
But be careful not to use the CSS do not use numbers named, such as 123, and do not use the combination of numbers and letters such as SS12
Because although the number is OK, but in the DW, he is shown in the default way, although the last page of the effect is the same, but in the DW look very messy, so ... It's best to use pure letters to name them.
three, about row height
Generally used in pixels and% to set
But it's better to use% to set it,
Because the pixels in the DW are showing a bit of a discrepancy with the Web page.
And the% setting is the same as on the Web page
Look at the picture, you know.