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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text becoming underlined after creating a hyperlink 1

Status
Not open for further replies.

Enkrypted

Technical User
Sep 18, 2002
663
0
0
US
I came across a problem while doing some work on our company website. My boss wanted the image on the top of the page to link to a page on our site. I was able to do that however by creating the link, it appears to make all text on the screen become underlined. I am not sure why this is doing this as I have never had this issue before.

You can see what I mean by going to Sharper Impressions Painting

Here is the section where I added the link to:

<div style="position:absolute;top:0px;left:0px;width:864px;height:200px;"><a href=" <img src="images/top_fade.jpg" alt="" height="200" width="864" border="0" /></div>

I have also tried to make it as:

<div style="position:absolute;top:0px;left:0px;width:864px;height:200px;"><a href="contactus.html"> <img src="images/top_fade.jpg" alt="" height="200" width="864" border="0" /></div>

It does not seem to help at all. With the a href in there it adds the underlining. If I remove the link, the underlining removes. Any ideas?


Enkrypted
A+
 
Hi

[ol]
[li]Learn HTML[/li]
[li]Use a validator[/li]
[li]
Code:
<div style="position:absolute;top:0px;left:0px;width:864px;height:200px;"><a href="[URL unfurl="true"]http://www.sharperimpressionspainting.com/contactus.html">[/URL] <img src="images/top_fade.jpg" alt="" height="200" width="864" border="0" />[red]</a>[/red]</div>

<div style="position:absolute;top:0px;left:0px;width:864px;height:200px;"><a href="contactus.html"> <img src="images/top_fade.jpg" alt="" height="200" width="864" border="0" />[red]</a>[/red]</div>
[/li]
[/ol]

Feherke.
 
Basically you didn't close the link.

Follow Feherke's 3 step guide to tranquility

<honk>*:O)</honk>

Tyres: Mine's a pint of the black stuff.
Mike: You can't drink a pint of Bovril.
 


A star for step 1 :)

A smile is worth a thousand kind words. So smile, it's easy! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top