CSS Library: Image CSS: Here
Highlight image hover effect (opacity or borderize)
Author: Dynamic Drive
The first example changes the opacity of any image link when the mouse moves over it using the "hover:" pseudo class of CSS. Note the two different properties used to specify opacity in CSS below. In IE 5.5+, the "filter" property is used (range: 0-100), and in Firefox, "-moz-opacity" (range: 0-1). Both properties are proprietary, and not formally endorsed by the W3C.
Opacity highlight:
The second example demonstrates applying a border to any image link when the mouse moves over it. The last definition (".toggleborder:hover") is added to overcome a IE bug, which causes the effect to not work in that browser if not added.
Border highlight:
The CSS:
Got a question or need help customizing this CSS code? Post it in the CSS Forums. If you have a comment or suggestion instead, post it in the comments section below.
Comment Pages 4 of 6 pages « First < 2 3 4 5 6 >
if know please send me mail on office@milanvasic.com
47 .toggleopacity img Parse Error - opacity=50)
48 .toggleopacity img Property -moz-opacity doesn't exist : 0.5
49 .toggleopacity img Property opacity doesn't exist : 0.5
53 .toggleopacity:hover img Parse Error - opacity=100)
54 .toggleopacity:hover img Property -moz-opacity doesn't exist : 1
55 .toggleopacity:hover img Property opacity doesn't exist : 1
How can I get rid of these errors?
Nice one do well!!ahaha!!
<code>
.toggleopacity img{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
-moz-opacity: 0.5;
opacity:0.5;
}
.toggleopacity:hover img{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
-moz-opacity: 1;
opacity:1;
}
.toggleopacity img{
border: 1px solid #FFFFFF;
}
.toggleborder:hover img{
border: 1px solid #006699;
}
<code>
work just fine!!!
I use this on my site www.legendofmir.ro
I have a layout picture I want to imap.. and if I imap it very precisely, will it work on the imap links?







