Link to home
Start Free TrialLog in
Avatar of jawadashraf78
jawadashraf78Flag for Pakistan

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 */
}>----

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of R7AF
R7AF
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial