Forums » Customize

hghlight only for links not pics...

castalopia
UNITED KINGDOM
2008-07-12 12:01:15
 

i have my links highlighting, but as i also have lots of pictures using the grow display option, they highlight too.

i found an item in the forum asking how not to have this happen, but the advice just showed what to put in the links CSS, and this is what i have already!

how do i make it not apply to these pictures? please help!!

AntoineLafontaine A
JAPAN
2008-07-12 15:17:06
 

Just overwrite the "img a" style so that it doesn't highlight like you regular text links.

If you "highlight" your links with a background color:
img a:hover{ background: #FFFFFF }

will keep the background white (change the value to your background's value).

If you "highlight" your links with a border:
img a:hover{ border: 0px }

will remove the border on your images link.

The idea is to override the CSS so that is doesn't change when you hover the link with your mouse. (use the appropriate styling depending on your highlighting technique)

Hope that helps.

castalopia
UNITED KINGDOM
2008-07-17 12:38:48
 

ok but my backgrounds are different colours on each page, i use 3 different colours. is there any other way i can solve this problem? i am really stuck with this!!

www.castalle.com this is my website if that helps?

thakn you very much, thisforum is a lifesaver!

arsondpi
GREECE
2008-07-17 13:22:26
 

will...
a.thumb-img:hover {
background: transparent;
}
do the trick? or is transparent a firefox only feature?

Vaska A
I WROTE THIS
2008-07-17 13:32:02
 

I don't understand what is really being asked for here...

castalopia
UNITED KINGDOM
2008-07-17 13:35:10
 

this has worked! i have checked in firefox and safari and it has solved the problem, will it work in other browsers too?

thankyou very much arsondpi!

:) x

Showing 1 - 6 of 6 posts in Forum > Customize > hghlight only for links not pics...
 

You need to be logged in to post.