I have some css to replace the icons in an UL with doc type icons. EG. A pdf gets a pdf icon.
It works flawlessly in FF. As expected...
However IE _always_ chops off the first icon.. and sometimes cuts the icons in half.. (scrolling up + down revives them)..
Has anyone run into this type of thing before? Im assuming its and IE bug.. cause.. why not? ;-)
It works flawlessly in FF. As expected...
However IE _always_ chops off the first icon.. and sometimes cuts the icons in half.. (scrolling up + down revives them)..
Has anyone run into this type of thing before? Im assuming its and IE bug.. cause.. why not? ;-)
Code:
#download-section { background:#E8FBFF; border-top: 1px solid #000099; border-bottom: 1px solid #000099; width: 125px; float: right; position: relative; left: 60px; margin-bottom: 5px; }
#download-section ul {
margin: 0;
padding: 0;
list-style: none;
}
#download-section ul li {
margin: 2px 0 6px 0;
padding: 0;
font-weight: normal;
font-size: 10px;
text-decoration: none;
line-height: 19px; /* height of icon */
background-repeat: no-repeat;
background-position: 0 50%;
}
#download-section ul li a {
padding-left: 23px; /* width of icon + whitespace */
text-decoration: none;
}
#download-section ul li {
margin: 2px 0 6px 0;
padding: 0;
font-weight: normal;
font-size: 10px;
text-decoration: none;
line-height: 19px; /* height of icon */
background-repeat: no-repeat;
background-position: 0 50%;
}
#download-section ul li a {
padding-left: 23px; /* width of icon + whitespace */
text-decoration: none;
}
.pdf { background-image: url("/images/icons/pdf.jpg"); }
.htm { background-image: url("/images/icons/bullet_htm.gif"); }
.doc { background-image: url("/images/icons/bullet_doc.gif"); }