Home   News  Product reviews  Website reviews  Forums   Competitions  Subscribe 


Web Building >> Web design & build

 |  Print Thread
longplay
regular


Reg'd: Mon
Posts: 266
Loc: UK
Re: CSS Properties
      Fri May 14 2004 03:02 PM

AS TFC points out, you can assign different text and link colours to different areas of the page. All you need to do is put them in a div with an ID attribute, so you reference it.

So

#navbar a {
color: black;
}

#content a {
color: white;
}

a {
color: purple;
}

don't interfere with each other, any link which is contained within <div id="navbar"></div> tags is black, any links between <div id="content"></div> tags are white and any other links are purple.
The Digerati Peninsula

Post Extras Print Post   Remind Me!     Notify Moderator
Rate this thread

Jump to


Entire topic
Subject Posted by Posted on
* CSS Properties mw1 Fri May 14 2004 12:03 AM
. * * Re: CSS Properties longplay   Fri May 14 2004 03:02 PM
. * * Re: CSS Properties mw1   Fri May 14 2004 09:19 PM
. * * Re: CSS Properties TheFatControlleRAdministrator   Fri May 14 2004 03:54 AM
. * * Re: CSS Properties mw1   Fri May 14 2004 09:08 AM

Extra information
0 registered and 0 anonymous users are browsing this forum.

Moderator:  putasolutions, Joe_London, greysts, bricat, Nanook, Hello_There, John_McKenna, Mouse, TheFatControlleR 


Print Thread
Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      Mark-up is enabled

Rating:
Thread views: 152

Contact Us | Privacy statement Main website