Het onderstaande heb ik in mijn pagina staan, maar toch krijgen alle bezochte links dezelfde
kleur. Terwijl ik voor de wittelink iets anders heb opgegeven.
kleur. Terwijl ik voor de wittelink iets anders heb opgegeven.
Cascading Stylesheet:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| <style type="text/css"> body,td,th {font-family: Arial, Helvetica, sans-serif; font-size: 10px;} .style1 {color: #FFFFFF;} a:link {color: #000000; text-decoration: none;} a:active {color: #FFFFFF; text-decoration: none;} a:visited {color: #000000; text-decoration: none;} a:hover {color: #FF6600; text-decoration: none;} .wittelink {color: #ffffff; text-decoration: none;} .wittelink:active {color: #ffffff; text-decoration: none;} .wittelink:visited {color: #ffffff; text-decoration: none;} .wittelink:hover {color: #ff6600; text-decoration: none;} </style> <table width="150" align="center" cellpadding="2" cellspacing="0"> <tr> <td width="110" align="left" valign="top"><span class="style2 style1">Logged in as : <span class="wittelink">$username</span></span> </td> </tr> <tr> <td width="150" align="left" valign="top" style="padding=4;"> <div align="left"><span class="style2 style1">• </span><a href="index.php?site=loginoverview" class="wittelink">Profile overview</a><br> <span class="style1">• </span><a href="index.php?site=myprofile" class="wittelink">Edit your profile</a><br> <span class="style1">•</span> <a href="logout.php" class="wittelink">Logout</a> </div></td> </tr> </table> |
[ Voor 9% gewijzigd door Verwijderd op 25-08-2007 12:51 ]