![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
so there's the problem: my text links have background images and when I put links around images on my page, they too get the background image treatment which I do not...I have tried several possible solutions and nothing has worked: [...snip...] anyone with any solutions? I would prefer to have no background image treatment applied to the <img> tag no matter where it is found on the page (class independent) |
#3
| ||||||
| ||||||
|
|
so there's the problem: my text links have background images |
|
and when I put links around images on my page, they too get the background image treatment which I do not...I have tried several possible solutions and nothing has worked: |
|
div class="borderCCC" |
|
div class="clients"><a href="../index.html" |
|
img src="../images/client/1.gif" width="227" height="350" / |
|
a:link { background:#F0F0F0; background-image:url(../images/common/link_highlight.gif); background-repeat: repeat-x; } my possible fixes that didn't work: background-image: none; background-color: tranparent; |
#4
| |||
| |||
|
|
my text links have background images and when I put links>around images on my page, they too get the background image>treatment which I do not [want].If the image is non-transparent, I think you could set eitherthe anchor or the image to {display:block}. That would eliminateany space where the anchor's background might show through.If you want your background on text links only, would something like this work? |
![]() |
| Thread Tools | |
| Display Modes | |
| |