php forum
php mysql forum
php mysql smarty
 
Topic Options
#236169 - 02/13/03 02:25 AM Other link colors in self defined tags
jluerken Offline
Member

Registered: 08/27/02
Posts: 233
Hi guys,<br /><br />I have a small question and hopefully someone can answer it.<br /><br />In my default stylesheet I have the following:<br />A:link { <br /> color: #D9DDE6; <br /> font-weight: bold;<br /> text-decoration: none;<br />}<br />A:visited { <br /> color: #D9DDE6;<br /> font-weight: bold;<br /> text-decoration: none;<br /><br />Now I have created an own tag called:<br />.owntag { whatever }<br />and want the links in this tag to have another color. <br /><br />Is this possible and when yes how?
_________________________
Ciao jluerken
--------------------
www.uce-clan.de www.clanforums.com

[]http://www.uce-clan.de/images/uce_banner2.gif[/]

Top
#236170 - 02/13/03 02:45 AM Re: Other link colors in self defined tags [Re: edr]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Sure it is, and here is an example I pulled directly from the style sheets that come with Threads: <br /> <br />
Code:
 .onbody A:LINK { <br /> color: ; <br />} <br />.onbody A:VISITED { <br /> color: ; <br />} <br />.onbody A:ACTIVE { <br /> color: ; <br />} 
<br /> <br />All you have to do is substitute your own class and provide the colors <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#236171 - 02/13/03 03:29 AM Re: Other link colors in self defined tags [Re: jacksonm99]
jluerken Offline
Member

Registered: 08/27/02
Posts: 233
Thanks, I will give it a try when I am back from work ...
_________________________
Ciao jluerken
--------------------
www.uce-clan.de www.clanforums.com

[]http://www.uce-clan.de/images/uce_banner2.gif[/]

Top
#236172 - 02/13/03 07:47 AM Re: Other link colors in self defined tags [Re: edr]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
If you want to learn something about CSS, just have a look at the W3C.org site. There you find the css specification aswell as some tutorials.<br /><br />
_________________________
Running a community? -> Keep informed and take it to the next level

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