Web Design, from the beginning of CSS. I dedicated a contribution to the CSS
/ * CSS Document * /
<style Type="text/css">
<! –
Body, td, th (
Font-size: 9pt;
Color: # 000000;
Line-height: 13pt
)
Body (
Margin-left: 0px;
Margin-top: 0px;
Margin-right: 0px;
Margin-bottom: 0px;
)
A (
Font-size: 9pt;
Color: # 000000;
Line-height: 13pt
)
A: link (
Text-decoration: none;
)
A: visited (
Text-decoration: none;
Color: # 000000;
)
A: hover (
Text-decoration: underline;
Color: # ff0000;
Line-height: 13pt
)
A: active (
Text-decoration: none;
Color: # 000000;
)
Input (
Font-size: 9pt;
Line-height: 13pt
)
–>
</ Style>
————————————————– ————————————————– —————————-
Method of Use: the code will be copied to a new page document, and then save it as. Css suffix. For example, "lain.css" document.
————————————————– ————————————————– —————————-
Description:
Font-size: 9pt; [font name definition does not specify the default font is 10 lines fonts, 9 pt is the most popular online name. In Dreamweaver can also be defined, which means 9:00 or 9 pounds. ]
Color: # 000000; [text color, such as linking the issue of color is the color that way. # 000000 is grasping page color standards, "000000" on behalf of black. Dreamweaver open on the specific can be seen. ]
Line-height: 13pt [space, that each line the distance between the characters, equally applicable to the Notes pt, 13 pt is a reasonable distance]
Body [the definition of ordinary text. ]
Margin-left: 0px; [from the left side]
Margin-top: 0px; [on the border]
Margin-right: 0px; [from the right side]
Margin-bottom: 0px; [the border]
Input [subscript single definition. ]
A [Definitions hyperlinks overall style, such as text font, the original color, line spacing. ]
A: link [and the above-mentioned a similar effect, the difference is whether the use of hyperlinks, and other effects are also underlined defined here, for example, not text-decoration: field do any definition, that is always a default under zoned Line]
A: visited [definition has been visited hyperlink attributes, such as color and underlined. ]
A: hover [Definitions when the mouse hovers over time hyperlink attributes, such as color and underlined. ]
A: active [Definitions activities hyperlink, which is when the mouse? Attributes, such as color and underlined. ]
As for how to underscore that I am here not wordy, but if you use the above CSS not comfortable, you can turn Dreamweaver, right choice attributes, its own definition.
Connecting external CSS approach is to the right page - CSS style - Additional style sheets - click the "link" - choose your CSS document it.
————————————————– ————————————————– —————————-
How in the same pages, the use of different hyperlinks, and how to define such CSS.
————————————————– ————————————————– —————————-
If you have already used the website within an external CSS, such as the above, the definition of hyperlinks usual black, the only time the mouse in red. But this time, require individual hyperlinks needs usual green when the mouse into the blue, how can this be done? Now I am told to everyone.
I am your CSS on the hyperlink section of the code that you need to do Copy to the second hyperlink to the website, for example,
<style Type="text/css">
<! –
A: link (
Color: # 000000;
Text-decoration: none;
)
A: visited (
Color: # 000000;
Text-decoration: none;
)
A: hover (
Color: # FF0000;
Text-decoration: underline;
)
A: active (
Color: # 000000;
Text-decoration: none;
)
–>
</ Style>
This is the above code, and then in front of you in every definition of adding things, such as the "a." and "b." or "sky.", Since English is arbitrary and figures alone or with a combination of points, We here is the definition of "sky.." Color is then modified to a client's request to amend After that:
<style Type="text/css">
<! –
Sky.a: link (
Color: # 009900;
Text-decoration: none;
)
Sky.a: visited (
Color: # 009900;
Text-decoration: none;
)
Sky.a: hover (
Color: # 0066FF;
Text-decoration: underline;
)
Sky.a: active (
Color: # 009900;
Text-decoration: none;
)
–>
</ Style>
Method of Use: hyperlinks to do, and then select it, and the logo at the bottom of his column should be a white <a>, and then right "set of" choice sky. Right after, or select it in the CSS style in the sky of choice on it.
Having said that, it is estimated that you have to see the halo slowly come, CSS Henfan, it is important, who do not want the emergence of a very simple page with less than 100 firms, but in the pages within the definition of a random CSS is a set of more than 80 firms have? This is not abuse people playing it, and to themselves, the customer is responsible for the charge of your work.
Tags: CSS style design






Leave a Reply