Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Ex. Of Localy Changing Link Colors
biesbos
post May 18 2005, 09:24 PM
Post #1


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 4
Joined: 18-May 05
Member No.: 5,213



hi..
here's a exaple of how i tried to localy changing my link colors

have fun!


is not valid CSS, and you can't put the link attribute in anything other than the body tag I believe, but all of this should be done in CSS.

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
background-color:#0000FF;
color:#FFFFFF;
}
a,a:link,a:visited,a:hover,a:active {
color:#FFFFFF;
}
a.blacklink,a.blacklink:link,a.blacklink:visited,a.blacklink:hover,a.blacklink.a
ctive {
color:#000000;
}
-->
</style>
</head>

<body>
<a href="#">blah</a>
<table cellpadding="0" cellspacing="0">
<tr>
<td><a href="#" class="blacklink">blah2</a></td>
</tr>
</table>
</body>
</html>
Go to the top of the page
 
+Quote Post
Jens_L
post Mar 27 2006, 07:05 AM
Post #2


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 9
Joined: 24-November 05
Member No.: 9,796



Thanks!

I tried it in a <div> tag and it works, at least on Explorer 6.0, witch have good css support. It's a smart way of doing this. I'm gonna see how it works on different platforms and browsers.

Peace!

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Find Out Dead Links In Your Site Automatically(11)
  2. Myspace Code Changing(10)
  3. Change Table Colors On Mouse Effects!(8)
  4. A Better Way To Do Link-exchange...(8)
  5. Resolution Keeps Changing To 800x600 After Restart(20)
  6. Link(5)
  7. Smf Theme Creation Help(13)
  8. Google- Changing The Search Preferences!(3)
  9. Resend Link To Activate Hosting(1)
  10. Need Help Changing MTU Settings For XBox(13)
  11. Vujsa's CMS101 And CMS102 Tutorials(4)
  12. Has Anyone Seen Any Link-backs As Weird As This ?(5)
  13. Firefox 2 Problem: Save Link(9)
  14. Supercharge Your Broadband Link With Free DNS From OpenDNS(0)
  15. Can Hdmi Be Converted To Dvi-d Dual Link?(0)
  1. Changing Mx Entries(2)
  2. Imagemap With Image As Other Link(0)
  3. Website Directory !(3)
  4. Auto Screen Position Changing Possible?(5)
  5. Changing Of Hosting Credit To Normal Forum Credit(1)
  6. Making A Link = Mysql_query(8)
  7. Changing A Value From A Textbox(6)
  8. Site Link Analyzer Tool(1)
  9. Changing Path Of Shared Object(2)
  10. Can You Link Game Maker With Mysql/php(0)
  11. Link To Other Computers(4)
  12. Hacked By Dumansal(2)
  13. Web Hosting - Changing Hosts With Existing Domain Name(1)


 



- Lo-Fi Version Time is now: 6th October 2008 - 06:09 PM