jawadashraf78
asked on
Padding not working in IE
I am using images in css span and giving the border padding which is perfectly working in FF but not woking in IE plz check it,
complete CSS Code is here,
----<.thumbnail{
position: relative;
z-index: 1;
}
.thumbnail img {
padding:5px;
border:1px solid #CCCCCC;
}
.thumbnail:hover{
background-color: transparent;
z-index: 2;
text-decoration:none;
}
.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: white;
left: -500px;
border: 1px #C3D6EE solid;
visibility: hidden;
color: black;
text-decoration: none;
}
.thumbnail span img{ /*CSS for enlarged image*/
padding:5px;
border:1px solid #000;
border-color: #CCCCCC;
}
.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
padding: 3px;
width: 200px;
height: 0 auto;
left: -10px;
/*position where enlarged image should offset horizontally */
}>----
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hope this helps: http://en.wikipedia.org/wiki/Internet_Explorer_box_model_bug