❑ Presentation of links
❑ Backgrounds of document
❑ Styles of bullet points and numbered lists
❑ Appearance of tables
❑ Outlines around boxes
❑ Boxes that can gain focus or are active
❑ Addition of content to the XHTML document before or
after an element
❑ The three positioning schemes that allow you to
determine where on a page a box will
appear — something
that prepares you to use CSS to create layouts
Example of Links with CSS
body {background-color:aqua}
a {
font-family: arial, verdana, sans-serif; font-size:12px; font-weight:bold;}
a:link {color:red; text-decoration:none;}
a:visited {
color:#orange; text-decoration:none;}
a:active { color:black; text-decoration:underline;}
a:link:hover { background-color:yellow; text-decoration:underline;}
0 comments:
Post a Comment