Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-15-2011, 08:01 PM   PM User | #1
ubuntu
New Coder

 
Join Date: Oct 2011
Posts: 44
Thanks: 5
Thanked 0 Times in 0 Posts
ubuntu is an unknown quantity at this point
div with image

i am trying to make an image act as a button when i click it so that a tooltip is shown:


css:
Code:
#pref_button {
float:right;
margin-right:5px;
margin-top:0px;
opacity:0.2;
position:relative;
}

#pref_button:hover {
opacity:1.0;
}
HTML:

Code:
<img id="pref_button" src="http://cdn1.iconfinder.com/data/icons/iconsweets2/40/preferences_gear_5.png" />

However i dont see any 100% opacity when i hover the image
ubuntu is offline   Reply With Quote
Old 12-16-2011, 12:16 AM   PM User | #2
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,601
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
Which browser are you using?
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote
Old 12-16-2011, 09:16 AM   PM User | #3
ubuntu
New Coder

 
Join Date: Oct 2011
Posts: 44
Thanks: 5
Thanked 0 Times in 0 Posts
ubuntu is an unknown quantity at this point
Quote:
Originally Posted by VIPStephan View Post
Which browser are you using?
tested in all

Last edited by ubuntu; 12-16-2011 at 09:24 AM..
ubuntu is offline   Reply With Quote
Old 12-16-2011, 02:37 PM   PM User | #4
teedoff
Senior Coder

 
Join Date: Aug 2010
Location: High Point, NC
Posts: 3,325
Thanks: 5
Thanked 363 Times in 360 Posts
teedoff is on a distinguished road
Can you link us your site? Hard to recreate your issue since it deals with images and you didn't provide all your code.
__________________
Teed
teedoff is offline   Reply With Quote
Old 12-16-2011, 03:01 PM   PM User | #5
ubuntu
New Coder

 
Join Date: Oct 2011
Posts: 44
Thanks: 5
Thanked 0 Times in 0 Posts
ubuntu is an unknown quantity at this point
Quote:
Originally Posted by teedoff View Post
Can you link us your site? Hard to recreate your issue since it deals with images and you didn't provide all your code.
Its okay i found the problem. thanks for your help (:

Last edited by ubuntu; 12-16-2011 at 03:06 PM..
ubuntu is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:54 AM.


Advertisement
Log in to turn off these ads.