Tuesday, September 4, 2012

Href link without underline

You may probably wonder how to design your linked texts on your blog or website. Probably wondering how to make them without underlined or different colored etc.. There are two different ways to do it. You have to use css for designing it.

How to do is like that you can just write in between head tags and it will apply all your linked texts or you can just use it for specific link only single one. I prefer not to use underlines. I do not know maybe some of you either not like it. It has some disadvantages but for me it is ok.

For css inside head or external css anyway you write like this below.



 
   <style type="text/css">a {text-decoration: none}</style>



or


   <a href="your url" style="text-decoration: none">Bali Land & Villa</a>


You can also adjust some hover affects, colors etc.. too. Here below you can see it written mine on css on my blog color and hover effect.

For blogger users. Go to your template and find this codes by click Ctrl F. Probably yours different there for example instead none it can write underline etc...By the way a means anchor.

For all links without underlined and colors:

 
    a:link,a:visited{color:#498405;text-decoration:none;outline:none;}



For mouse hover colors and text decoration:

 
    a:hover{color:#65BA03;text-decoration:underline;outline:none;}



You can use different colors than this. To find colors code you can use some sites on net or just use programs like Photoshop.

To remove underline can cause search engines drive into links but if you do not care it ( like i do ) you can change it.

No comments:

Post a Comment

Welcome to Bali Villa & Land




Welcome to Bali Land & Villa


This site is mostly for real estate business and Bali Property but little bit from everything content. If you have any questions please comment on entries or email me directly.

Bali is the one of the most beautiful island in the world. It has increasing number of visitors every year. It is also most profitable property place in the world. And you can find some of those properties and solutions here.

I hope you will enjoy.

Thanks for visiting

Some entries' contents are still weak but will be updated