Topic: Bgcolor on images (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=10762" title="Pages that link to Topic: Bgcolor on images (Page 1 of 1)" rel="nofollow" >Topic: Bgcolor on images <span class="small">(Page 1 of 1)</span>\

 
kensai
Nervous Wreck (II) Inmate

From:
Insane since: Feb 2001

posted posted 06-23-2002 15:39

I'm using a background-color: in a:hover for my links. The problem is, it also displays a background color on transparent images which are links. How can I prevent the images showing a bgcolor when they're links?


Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 06-23-2002 16:08

Define another class with no bgcolor change. When creating links involving images use <a class="yournewclass" href="/path/to/blah.htm"><img src="/path/to/blah.jpg" width="100" height="100" border="0" alt="" /></a> - of course, substitute the values here with your info.

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 06-23-2002 16:33

kensai:
www.gurusnetwork.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic;f=16;t=000060#000001

___________________
Emps

FAQs: Emperor



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu