|
|
|||||||
| Home | Register | Downloads | FAQ | Members List | Calendar | Arcade | Mark Forums Read |
» Less advertising throughout
» Post and participate in discussions
» Network with other forum members
» Free private messaging
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Registered User
![]() ![]() ![]() ![]() Join Date: Feb 2006
Location: United States
Posts: 700
|
CSS Style
I'm creating a website using Dreamwaver 8 and all the colors of the links are done through styles.css. The default color is white (#FFFFFF), which is good because thats the color I want for my header and footer links. However when I begin creating my body text of the webpage, the links there are also white. Changing them to the red color (#820000) would result in changing all the links including the already satisfied header and footer links. I was wondering how to manipulate the styles.css sheet in a way that all the links in the header and footer are white (#FFFFFF) and all the links in the body text are red (#820000)?
|
|
|
|
| Advertisement | [Remove Advertisement] | ||
|
|
|
#2 |
|
Totally crazy
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Oct 2001
Location: London, England
Posts: 1,126
|
you'll have to make a style just for the header and footer, and then make the general a:link etc. the red. have like Code:
.headfoot a:link, .headfoot a:visited {
color:#fff;
}
Code:
<div class="headfoot"> your content </div>
__________________
“A commonplace man marvels at uncommon things; a wise man marvels at the commonplace” - Confucius |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|