The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

hover over image

View previous topic View next topic Go down

hover over image

Post by venu238 on 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

venu238
Forumember

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

http://medico.forum.com.bz

Back to top Go down

Re: hover over image

Post by Mike on 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
Hyperactive

Male Posts : 4242
Reputation : 466
Language : English, HTML, CSS
Location : Bozeman, Montana

Back to top Go down

Re: hover over image

Post by venu238 on 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?

venu238
Forumember

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

http://medico.forum.com.bz

Back to top Go down

View previous topic View next topic Back to top


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