PDA

View Full Version : links without underlines.....?



anne54
11-15-2002, 10:51 PM
Can someone tell me the basic html
code for creating a link without the
underline?

Thanks!!

MinistryD
11-15-2002, 11:22 PM
It's called Cascading Style Sheets (CSS). You'll need Internet Explorer 4+, Netscape 4+ (I think) to view this.

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

Put the above between the:

<title></title>
</head>

tags.

Martin
06-30-2004, 04:22 PM
I know that this thread is an oldie but it may help someone sometime...

HTML code for links styles will inevitably bump up the bloating of the overall HTML page, so CSS is the better option as DO2 said.

I think it was DO2 who sent me over to this link for CSS - really useful it was too, thanks Andy !!

Hope it helps you. :D

http://www.projectseven.com/tutorials/css/pseudoclasses/



[Edited on 30-6-04 by Martin]