You are on page 1of 7

(www.zzbaike.

com)

CSS

http://www.zzbaike.com/wiki/CSS

CSS

CSS ........................................................................................................1
CSS..........................................................................................................................2
.........................................................................................................................2
.................................................................................................................2
: link .................................................................................................................2
:hover ...............................................................................................................3
: active..............................................................................................................3
: visited.............................................................................................................4
:first-child.........................................................................................................4
: first .................................................................................................................4
: left/:right ........................................................................................................5
: lang.................................................................................................................5
: focus...............................................................................................................5
CSS......................................................................................................................5
after .........................................................................................................................5
first-letter.................................................................................................................6
first-line...................................................................................................................6
before ......................................................................................................................6
....................................................................................................................7
IXWebHosting(http://cn.ixwebhosting.com)

15

IP 3
http://www.ixwebhosting.bz/ixwebhosting-discount/

http://www.zzbaike.com/wiki/CSS
CSS

(www.zzbaike.com)

HostEase

HostEase

CSS
CSS

pseudo-class
selector:pseudo-class {property: value}
: {: }
CSS

selector.class:pseudo-class {property: value}


.: {: }

: link
Selector : link { sRules }

http://www.zzbaike.com/wiki/CSS
CSS

(www.zzbaike.com)

href () a
body link () document linkColor
IE3 :link visited
a:link { font-size: 14pt; text-decoration: underline; color: blue; }

:hover
Selector : hover { sRules }

CSS1 a href () a

CSS2

a:hover { font-size: 14pt; text-decoration: underline; color: blue; }


a:hover span{ color:red; }

: active
Selector : active { sRules }

()
CSS1 a href () a

CSS2
:active :link :visited
a:active { font-size: 14pt; text-decoration: underline; color:
blue; }

http://www.zzbaike.com/wiki/CSS
CSS

(www.zzbaike.com)

: visited
Selector : visited { sRules }

a
IE3 :link :visited

href () a
body vlink () document vlinkColor

a:visited { font-size: 14pt; text-decoration: underline; color:


blue; }

:first-child
Selector : first-child { sRules }
E

p a:first-child { color: green }


table td:first-child { width:200px; }

: first
Selector : first { sRules }
@page
@page :first { margin: 4cm }

http://www.zzbaike.com/wiki/CSS
CSS

(www.zzbaike.com)

: left/:right
Selector : left { sRules }/Selector : right { sRules }
@page

@page :left { margin: 4cm }

: lang
Selector : lang { sRules }

blockquote:lang(fr) { quotes: '?' ' ?' } /* quotes


*/

: focus
Selector : focus { sRules }
( onfocus )

a:focus { font-size: 14pt; text-decoration: underline; color: blue; }


a:focus img { border: thin solid green }

CSS
after
Selector : after { sRules }
content ()

table:after { content: END OF TABLE }

http://www.zzbaike.com/wiki/CSS
CSS

(www.zzbaike.com)

first-letter
Selector : first-letter { sRules }

height
width position absolute display
block
font-size float

p a:first-letter { color: green }


div:first-letter { color:red;font-size:16px;float:left; }

first-line
Selector : first-line { sRules }

height
width position absolute display
block
width

p a:first-line { color: green }


div:first-line { color:red;font-size:16px; }

before
Selector : before { sRules }
content ()

http://www.zzbaike.com/wiki/CSS
CSS

(www.zzbaike.com)

em:before { content: url("ding.wav"); }


SEOhttp://bbs.zzbaike.com/thread-9952-1-1.html

SEOhttp://bbs.zzbaike.com/thread-12692-1-1.html
wordpresshttp://www.wordpress.la/codex.htmlwordpress
WordPress

WordPresshttp://www.wordpress.la/theme.html
WordPresshttp://www.wordpress.la/plugin.html

WordPresshttp://bbs.zzbaike.com/thread-9954-1-1.html

Apache2.2 http://bbs.zzbaike.com/thread-9955-1-1.html
IXWeHosting (+PDF )

http://bbs.zzbaike.com/thread-9953-1-1.html

http://down.zzbaike.com/ebook/
1. IXWebHosting
http://bbs.zzbaike.com/thread-47008-1-1.html
2. Godaddy
http://bbs.zzbaike.com/thread-50005-1-1.html

http://bbs.zzbaike.com/forum-69-1.html
http://bbs.zzbaike.com/thread-23156-1-1.html

http://www.zzbaike.com/wiki/CSS
CSS