Topic: Bgcolor on images Pages that link to <a href="https://ozoneasylum.com/backlink?for=10762" title="Pages that link to Topic: Bgcolor on images" rel="nofollow" >Topic: Bgcolor on images\

 
Author Thread
kensai
Nervous Wreck (II) Inmate

From:
Insane since: Feb 2001

IP logged posted posted 06-23-2002 15:39 Edit Quote

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

IP logged posted posted 06-23-2002 16:08 Edit Quote

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

IP logged posted posted 06-23-2002 16:33 Edit Quote

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