php forum
php mysql forum
php mysql smarty
 
Topic Options
#109919 - 08/29/04 01:13 PM Link Color
ADWOFF Offline
Content Queen

Registered: 05/07/01
Posts: 709
Loc: Pennsylvania
This is probably a sinfully easy question/answer, but I honestly don't KNOW the answer, so I have to ask the question! tipsy

If I want a link color to be different in one area of a regular Web page from the rest of the page, how would I do that? I would also need to have the "visited link" color different from the rest of the page, too.

Remember to KISFSS (keep it simple for stoooopid Sue) and be kind and don't laugh too hard at my question.

Thanks!
_________________________
Sue
adwoff.com

Top
#109920 - 08/29/04 03:43 PM Re: Link Color
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
enclose the area in an id.

ie, if this entire area is enclosed in a single table, change <table> to <table id="special_links">

Now, add this to the top of the page

Code:
<style type="text/css">
#special_links a:link, #special_links a:visited, #special_links a:active, #special_links a:hover
{
    color: #whatever;
}
</style>

Top
#109921 - 08/29/04 07:01 PM Re: Link Color
ADWOFF Offline
Content Queen

Registered: 05/07/01
Posts: 709
Loc: Pennsylvania
Thanks, Ian.
_________________________
Sue
adwoff.com

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks