/* ------------------------------ */ /* Style Times */ /* Author: johndecember@gmail.com */ /* Date: 28 Nov 2000 */ /* Purpose: demonstrates altering */ /* style of HTML elements. */ /* ------------------------------ */ /* Set the font faces. */ /* ------------------------------ */ H1 {font-family: rockwell, serif} H2, H3, H4, H5 {font-family: arial, sans-serif} DT, DD, P {font-family: lucinda, sans-serif} /* ------------------------------ */ /* Text alterations. */ /* ------------------------------ */ H2, H3 {text-transform: uppercase; text-align: center } H4 {text-align: center} /* ------------------------------ */ /* Set the colors. */ /* ------------------------------ */ BODY { background: #FFCC99;} A:hover {background-color: #99FF99;} H1, H2, H3, H4, H5, DT, DD, DT, P, HR {color: #660000;} TD {background: #FFFFCC; border-color: #996600;} DT {background: #FFFF99; border-color: #996600;} DD {background: #FFCC33;} /* ------------------------------ */ /* Set padding, alignment, & etc. */ /* ------------------------------ */ DD {padding:10px} BODY {padding:3px;} TD {padding: 5px; vertical-align: top; width: 20%; border: 1px; border-style: solid;} DT {padding: 3px; border: 1px; border-style: solid;} /* -- END OF STYLE ------------------------- */