Zen Follower
- Join Date:
- Dec 2006
- Posts:
- 102
- Plugin Contributions:
- 0
Linked images underlined in firefox
Please help, this is doing my head in!
In Firefox some images which are links are displaying a blue underline link, like linked text..
here..
http://www.tonedeafmusic.co.uk/shop/index.php?main_page=index&cPath=1
and here...
http://www.tonedeafmusic.co.uk/shop/index.php?main_page=product_info&cPath=1_7&products_id=1
After reading some good advice in another thread I added
img {display: block;}
```which fixed the problem... no more underlines.. only problem is, now the images are no longer ```
display: inline
``` so they are left aligned and have a line break after them.
I'm guessing there is no css solution to this, as it seems to be a problem with the html on the page. The generated html reads....
<a href="http://www.tonedeafmusic.co.uk/shop/index.php?main_page=index&cPath=1_9"><img src="images/pitch-pipe.jpg" alt="Other Accessories" title=" Other Accessories " height="150" width="200"><br>Other Accessories</a></div>
<a href="http://www.tonedeafmusic.co.uk/shop/index.php?main_page=index&cPath=1_9"><img src="images/pitch-pipe.jpg" alt="Other Accessories" title=" Other Accessories " height="150" width="200"></a><a href="http://www.tonedeafmusic.co.uk/shop/index.php?main_page=index&cPath=1_9">
<br>Other Accessories</a></div>
But where do I go to make it generate it like this? php is beyond me!
Thanks in advance to anyone who can sort this!