View Full Version : change <a href> color
zoobie
08-04-2002, 08:05 AM
I'm tired...
Can you change the a href color inline coding?
<font face="times new roman"><div style="width:100%; font-size:16pt; color:#ffffff; filter:Glow(color=#ff0000, strength=12)"><a href='http://me.com'><i>Click here!</i></a></div></font>
It's text color is still defaulting to blue but the glow's working...
Thanks
Gordo
08-04-2002, 09:01 AM
You know, I'm tired too! It's now 3am, and I really should get some rest. But because I'm tired, I'm going to reply. And if I'm wrong and/or totally off the mark, then we'll just chalk it up to being tired (ok?).
What about putting the <div> inside the <a>?
<font face="times new roman"><a href='http://me.com'><i><div style="width:100%; font-size:16pt; color:#ffffff; filter:Glow(color=#ff0000, strength=12)">Click here!</div></i></a></font>
My test made the text white, but the link underline blue.
Or...........
<div style="width:100%;filter:Glow(color=#ff0000, strength=12)">
<a href="#" style="font-size:16pt;color:#ffffff;font-family:'times new roman';font-style:italic">Click here!</a></div>
Roy Sinclair
08-05-2002, 03:16 PM
Originally posted by zoobie
I'm tired...
Can you change the a href color inline coding?
<font face="times new roman"><div style="width:100%; font-size:16pt; color:#ffffff; filter:Glow(color=#ff0000, strength=12)"><a href='http://me.com'><i>Click here!</i></a></div></font>
It's text color is still defaulting to blue but the glow's working...
Thanks
I hate to see such a mishmash like that, just use simple CSS on the right tag and drop all the useless extra tags which are making the problem much more difficult than it needs to be!
<a href="#" style="font-family: 'Times New Roman';font-size:16pt; font-style: italic; color:#ffffff; filter:Glow(color=#ff0000, strength=12);">Click here!</a>
zoobie
08-06-2002, 02:26 AM
Heh heh...Thanks all :D
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.