You are here: Re: Changing Link Color in HTML « HTML « IT news, forums, messages
Re: Changing Link Color in HTML

Posted by Jonathan N. Little on 09/11/07 20:48

Chris Jackson wrote:

>
> use two diff classes - like:


Okay...
>
> <a href="internal link"><span class="a_internal">internal</span></a>
> <a href="external link"><span class="a_external">external</span></a>
>
> .a_internal{font.....}
> .a_external{font.....}
>

But what's with the spans?

This will work without added markup.

a.internal { /whatever your want to style internal links/ }
a.external { /whatever your want to style external links/ }

<a href="local.html" class="internal">internal link</a>
<a href="http://www.example.com" class="external">external link</a>



--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация