| |
| | | | |
CSS |
|
|
Create surrounds various elements in the HTML it generates with class names. These class names can be used in CSS (Cascading Style Sheet) styles to control the pages’ appearance.
For example, by putting the following specification into the header HTML and choosing to use text navigation bars, you can give your menu a rollover effect:
<STYLE TYPE="text/css">
.menu {background-color: #FF00FF; }
.menu a:link {color: #0000FF; font-weight: bold; text-decoration: none; }
.menu a:visited {color: #894F7B; font-weight: bold; text-decoration: none;}
.menu a:active {color: red; }
.menu a:hover {text-decoration: underline; background-color: #FFFFFF; }
</STYLE> |
|
|
|
|
|
Note: hover is not supported by all browsers. |
|
|
CSS is totally non-WYSIWYG; you won’t be able to see what CSS modifications look like until you generate the HTML for your document. |
|