Skip to main content
Participant
May 24, 2009
Question

Fix for bordeless hyperlink image not working

     Hello, I am fairly new to the webdesign world, I have a page that I have an image that is a hyperlink (www.crespidrama.org) and I am trying to remove the border.  The fix that I found on the forums was to do a img { border:none;} but it doesn't appear to be working.  I assume I have the code in the wrong place?

Here is the code for the image from that page:

  <a href="then-there-were-none.html"><a href="then-there-were-none.html"><img src="images/teaser-poster.jpg" a img { border:none;}width="109" height="140"></a><br>

Many thanks for your help!

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Peter Grainge
Community Expert
Community Expert
May 24, 2009

I think you are probably in the wrong forum. The HTMLHelp forum is for people using the RoboHelp product to create Microsoft HTML Help, not for people need help with HTML.

I will offer a suggestion as to what is wrong but if that is not it, you should ask in the forum for whatever product you are using, Dreamweaver maybe?

I would start by writing the code something like this, based on the code you supplied.

<a href="then-there-were-none.html"><img src="images/teaser-poster.jpg" border:none; width="109" height="140"></a><br>

Of course, if the border is part of the image, then specifying border as none will have no effect.

As you are just starting, a good place to visit would be http://www.w3schools.com


See www.grainge.org for RoboHelp and Authoring tips

Translate
Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.