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.

How do I give this image a box when hovering?

View previous topic View next topic Go down

How do I give this image a box when hovering?

Post by Cool-Guy on September 22nd 2011, 9:01 am

Hello,

If you visit Facebook, and hover the logo, a box will appear. Is it possible to add a similar box to my logo?

Thanks.

Cool-Guy
Forumember

Posts : 295
Reputation : 0
Language : English

Back to top Go down

Re: How do I give this image a box when hovering?

Post by ioncube on September 22nd 2011, 9:10 am

your forum address?
or you can giv this a try:

Code:
#logo :hover {
border:5px solid gray;
}

learn more about border property: http://www.w3schools.com/css/css_boxmodel.asp

ioncube
Forumember

Male Posts : 279
Reputation : 41
Language : eng
Location : Pakistan

http://defencedog.blogspot.com/

Back to top Go down

Re: How do I give this image a box when hovering?

Post by Cool-Guy on September 22nd 2011, 9:21 am

I don't think you need it. Smile

By the way, I wasn't talking about that kind of box. If you go here, and hover the logo saying "facebook", you will see a box:

http://www.facebook.com/

Cool-Guy
Forumember

Posts : 295
Reputation : 0
Language : English

Back to top Go down

Re: How do I give this image a box when hovering?

Post by ioncube on September 22nd 2011, 9:31 am

Code:
<a  href="#" title="Go to Facebook Home"><img src="http://static.ak.fbcdn.net/rsrc.php/v1/yp/r/kk8dc2UJYJ4.png" alt="Facebook logo" width="170" height="36"></a>


Text that box shows: Go to Facebook Home (edit this )
logo img: http://static.ak.fbcdn.net/rsrc.php/v1/yp/r/kk8dc2UJYJ4.png (edit this )
on the img will depend the width & height


ioncube
Forumember

Male Posts : 279
Reputation : 41
Language : eng
Location : Pakistan

http://defencedog.blogspot.com/

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