> 1531

December 4, 2007

author
uwk@squatterz.com

keywords
test, links

location
test/links/

Link Color


Naturally web link text is default blue color.  When you mark some text off as a hyperlink.. it now behaves this way and turns blue.. see i'll turn this text to a link...

Your browser likely rendered that section of marked text as blue with underline.  That's just the starting point... we're free to adjust this standard look.  How.. well.. with css.. but that's another story.. for now.. we'll just use the text box coloring tool.

So let's try to turn this text into something else by highlighting it and choosing a new text color....
  Ok.. that didn't work just right in my browser till I switched off of text edit mode.. how about yours?
 
If that doesn't work.. we can try css.. YAY CSS!
 
Ok.. for this we'll have to get a bit tricky.. and not use a text box! .. ok.. low level coding time!!  Whip out your paste boxes everyone!!! 
 

Let's learn a bit by example compare!

Try pasting some of these anchor link code bit's into a paste box. Edit the values within the href='' and style='' sections.


<a href='http://www.google.com/'>My Link Text</a>

My Link Text



<a href='http://www.google.com/' style='color: green;'>My Link Text</a>

My Link Text



<a href='http://www.google.com/' style='font: normal 15pt arial; color: green;'>My Link Text</a>