Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Links without blue and underline

Status
Not open for further replies.

kruxty

Programmer
Joined
Jul 17, 2001
Messages
197
Location
PT
Hi,

how can i make a link without that ugly blue underlined font?!?!?!

Tkx to all

K.
 
Code:
<style type="text/css">
a {
   color:red;
   text-decoration:none;
}
</style>

-kaht

How much you wanna make a bet I can throw a football over them mountains?
sheepico.jpg
 
i don't understand where to put that...

i have this example text:
Code:
<a href="[URL unfurl="true"]www.temp.com">test[/URL]
</a>


where do i put that code?
 
In it's simplest form

Code:
<head>
.... stuff you normally put in the head of an HTML doc ...

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

<body>
 ... stuff you put in the body of an html doc ...
</body>



Foamcow Heavy Industries - Web design and ranting
Buy Languedoc wines in the UK
 
if you're talking about a single link you could use inline for it,

Code:
<a href="[URL unfurl="true"]http://www.temp.com"[/URL] style="color:red;text-decoration:none;">Temp.com</a>
 
you might not need my 2 cents, but for what it's worth, I've found that it's important to be careful when changing the color of your links. Sure, it might match the design better and look cool, but to the general public, it becomes harder to navigate. People get used to looking for "blue" links and many times ignore any other underlined text.


"Together we can make 'computer illiterate' a dirty word."
 
sysadmin42 ... The other thing is other underlined and/or blue text will have some users clicking at it a little trying to follow a link.

In general, blue underline is best. If it HAS to be something else then make sure links need to have at least 2 attributes to seperate them from other text. Read: color change and bold, color and italics, ect.

[plug=shameless]
[/plug]
 
Saying that links "should be blue and underlined" because "that is what people are used to" isn't really a good way to think about web design.

Yes - links need to stand out to be obvious, but design is also important. As long as they are obvious, it should not, and does not matter what colour they are.

Really... if all sites used the default "blue" colour, with underlines for links, we'd be seeing some pretty ugly sites out there.

Dan



[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
I wholeheartedly agree with Dan. Also I think that as long as you do not put other text (like emphasized or strong text) on the page that looks blue and underlined, users will not get confused as to what is a link and whatnot.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top