Emuforums.com

Go Back   Emuforums.com > General Discussion > Web development / Programming
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read

WON'T YOU JOIN US?
You are not a registered member and
are viewing this site as a guest.
Registration is simple and FREE.
Join this CrowdGather community today.
Registration offers the following perks:

» Less advertising throughout
» Post and participate in discussions
» Network with other forum members
» Free private messaging

join

Reply
 
Thread Tools Display Modes
Old December 22nd, 2006, 23:50   #1
leo9986754
Registered User
 
leo9986754's Avatar
 
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)?
leo9986754 is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old December 23rd, 2006, 18:39   #2
dn
Totally crazy
 
dn's Avatar
 
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;
}
then wrap your header and footer text in these tags
Code:
<div class="headfoot">
your content
</div>
google 'css links' or look through w3 schools css tutorial. i find looking at the style sheets and layouts of well designed sites is a good place to learn things.
__________________
“A commonplace man marvels at uncommon things; a wise man marvels at the commonplace” - Confucius
dn is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 02:57.

© 2006 - 2012 Emu Forums | About Emu Forums | Advertisers | Investors | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.