Re: Link Color Questions

From: Date: Sun, 22 Apr 2001 22:19:15 +0000
Subject: Re: Link Color Questions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-49768@lists.php.net to get a copy of this message
##################################### yes, make a style sheet called "domain.css" and put in this text: ##################################### a.domain1:link { color: #0000FF; } a.domain2:link { color: #FF0000; } a.domain3:link { color: #FF8000; } ##################################### in the head tag, be sure to add the style's location: ##################################### <head> <link rel="stylesheet" href="domain.css" type="text/css"> </head> ##################################### then inset your html on teh page as follows: ##################################### <body> <a href="http//www.domain1.com" class="domain1">www.domain1.com</a> <a href="http//www.domain2.com" class="domain2">www.domain2.com</a> <a href="http//www.domain3.com" class="domain3">www.domain3.com</a> </body> hope this helps some :) -Adam

« previous php.general (#49768) next »