PDA

View Full Version : Link Color



pdatoon
Fri 11th Jan '02, 2:20pm
Hi Guys,

I have a question concerning the color of the links.

I have set my link color (in styles) to be black, but my table header is also black and when a thread is more than 1 page, i cannot see the other page numbers.

see here : http://www.pdafrance.com/pdaforum/showthread.php?threadid=3912

You cannot read
Sujet Page(s) (2): [ 1 2 > ]

Do you know how to set the color of that particular link to be different from the global variable?

Thanx!

ja5es
Fri 11th Jan '02, 2:51pm
use some css

pdatoon
Fri 11th Jan '02, 2:53pm
Hi James,

Thanks for the reply.
How?

samtha25
Fri 11th Jan '02, 9:11pm
You can do the following:

In showthread, replace this original markup:


<tr>
<td bgcolor="#8080A6" width="175" nowrap><smallfont color="#EEEEFF" class="thtcolor"><b>Author</b></smallfont></td>
<td bgcolor="#8080A6" width="100%">
<!-- Thread nav and post images -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%"><smallfont color="#EEEEFF" class="thtcolor"><b>Thread</b></smallfont></td>
<td><a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="images/newthread.gif" border="0" alt="Post New Thread"></a></td>
<td><normalfont>&nbsp;&nbsp;</normalfont></td>
<td><a href="newreply.php?s=$session[sessionhash]&action=newreply&threadid=$threadid"><img src="$replyclose" border="0" alt="Post A Reply"></a></td>
</tr>
</table>
<!-- /Thread nav and post images -->
</td>
</tr>

with:


<tr id="cat">
<td bgcolor="#8080A6" width="175" nowrap><smallfont color="#EEEEFF"><b>Author</b></smallfont></td>
<td bgcolor="#8080A6" width="100%">
<!-- Thread nav and post images -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%"><smallfont color="#EEEEFF"><b>Thread</b></smallfont>&nbsp;&nbsp;$pagenav</td>
<td><a href="newthread.php?s=$session[sessionhash]&action=newthread&forumid=$forum[forumid]"><img src="images/newthread.gif" border="0" alt="Post New Thread"></a></td>
<td><normalfont>&nbsp;&nbsp;</normalfont></td>
<td><a href="newreply.php?s=$session[sessionhash]&action=newreply&threadid=$threadid"><img src="$replyclose" border="0" alt="Post A Reply"></a></td>
</tr>
</table>
<!-- /Thread nav and post images -->
</td>
</tr>

That will work for version 5 and 6 browsers, but not Netscape 4. If you care about Netscape 4, you need a bit more complicated solution.

pdatoon
Mon 14th Jan '02, 10:53am
Super, Thanx a lot!