CSS code to copy |
<style type="text/css"> <!-- a:link {color: #FFFFFF; text-decoration: none} a:visited {color: #808080; text-decoration: none} a:hover {color: red; text-decoration: underline} --> </style> |
Sets uniform color of hyperlinks with the "underline" effect |
<style type="text/css"> A:link { text-decoration: none; color: #50678F;} A:visited { text-decoration: none; color: #50678F;} A:active { text-decoration: none; color: #50678F;} A:hover { text-decoration: None; color: #9F003F; Background-Color : white;} </style> |
Sets uniform color of hyperlinks with the "background" effect |
<style type="text/css"> BODY { scrollbar-face-color: #804040; scrollbar-shadow-color: #804040; scrollbar-highlight-color: #804040; scrollbar-3dlight-color: #804040; scrollbar-darkshadow-color: #FFF8DC; scrollbar-track-color: #FFFFFF; scrollbar-arrow-color: #FFF8DC } </style> |
Sets colors of the document scrollbar |
<style type="text/css"> p { width: 90% } </style> |
Sets width of paragraphs |
<style type="text/css"> h3 { position: relative; background-color: white; color: #50678F; width: 140px } </style> |
Sets width, color, and background color of Heading3 |
<style type="text/css"> body { background-image: url('bcg4.gif'); background-repeat: no-repeat; background-attachment: fixed; background-position: right top; } </style> |
Sets fixed position of an image in the top-right corner |