The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

hover over image

2 posters

Go down

hover over image Empty hover over image

Post by venu238 May 21st 2011, 7:57 pm

I'm using Multiforums in my phpbb2

I want code to get an hover border over an image..
here is my
forum
avatar
venu238
Forumember

Male Posts : 109
Reputation : 0
Language : English
Location : Hyderabad

http://medico.forum.com.bz

Back to top Go down

hover over image Empty Re: hover over image

Post by Mike May 22nd 2011, 1:37 am

Here's an example, customize yours.

Code:
<style type="text/css">

randomimage hover {
-moz-box-shadow: 3px 3px 5px #000;
    -webkit-box-shadow: 3px 3px 5px #000;
    box-shadow: 3px 3px 5px #000;
}

Then for your image put:

Code:
<img src="src" id="randomimage">

this should help. You may need to cancel out some images and then do this in the templates
Mike
Mike
Hyperactive

Male Posts : 4255
Reputation : 471
Language : English, HTML, CSS
Location : Loveland, Colorado

Back to top Go down

hover over image Empty Re: hover over image

Post by venu238 May 22nd 2011, 10:31 am

Drogba921 wrote:Here's an example, customize yours.

Code:
<style type="text/css">

randomimage hover {
-moz-box-shadow: 3px 3px 5px #000;
    -webkit-box-shadow: 3px 3px 5px #000;
    box-shadow: 3px 3px 5px #000;
}

Then for your image put:

Code:
<img src="src" id="randomimage">

this should help. You may need to cancel out some images and then do this in the templates
I did exactly what you said..but i didn't got any border

"You may need to cancel out some images and then do this in the templates" - how to do this?
avatar
venu238
Forumember

Male Posts : 109
Reputation : 0
Language : English
Location : Hyderabad

http://medico.forum.com.bz

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum