<a href> without the underline?

liunx

Guest
How can I display the word in between the "<a href=http://www.htmlforums.com/archive/index.php/"some.html">" and </a> in a way that the word will not be underlined? For example, "html//www.somesite.com" will be displayed as "html//www.somesite.com" but the link will still remain.<!--content-->I think the only way (I am prepared to be corrected on the issue) is to use a "Custom Style Sheet". Basically this is a way for you to specify how the browser reacts to tags like the <A>, <H1> and so on.<br />
<br />
So far the best place I have found to learn about them is this site:<br />
<br />
<!-- w --><a class="postlink" href="http://www.w3schools.com">www.w3schools.com</a><!-- w --> (<!-- m --><a class="postlink" href="http://www.w3schools.com/css/default.asp">http://www.w3schools.com/css/default.asp</a><!-- m -->)<br />
<br />
They have pretty good tutorials and examples.<br />
<br />
Please note that older browsers may not be able to use the CSS, and your site will not look as you intended.<br />
<br />
Hope this helps you out.<!--content-->http://www.htmlforums.com/showthread.php?threadid=2446<!--content-->another way to do it would be to fake a link using scripting. there's no real reason to do it, as the style method works just fine. but hey, erm, you never know.<br />
<br />
<br />
<div onClick="window.location='page.htm';">text</div><br />
<br />
<br />
--jackhammer<!--content-->Hope the world gets filled up with helpful people like you!!<!--content-->Wait...isn't it still acceptable to simple put:<br />
<br />
< a href=http://www.htmlforums.com/archive/index.php/"#" style="text-decoration:none" ><br />
<br />
That's what I use too, only in an external style sheet and I use some spans also, but for links, that would do the trick REALLY easily right?<!--content-->
 
Back
Top