piwigo/themes/default/fix-ie5-ie6.css
rvelices 5f69a2ff02 simplification of CSS rules (trunk only)
git-svn-id: http://piwigo.org/svn/trunk@7843 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-22 20:13:09 +00:00

50 lines
1,015 B
CSS

/* Issues in IE from 5 to 6 only not to be used with IE7 */
#menubar LI.selected A {
font-weight: bold;
}
#menubar LI.selected LI A {
font-weight: normal;
}
/* fix IE with another layout for thumbnails */
.content UL.thumbnails SPAN.wrap2 {
display: block;
position: relative;
text-align: left;
}
.content UL.thumbnails SPAN.wrap2 A,
.content UL.thumbnails SPAN.wrap2 SPAN {
overflow: visible;
position: absolute;
top: 50%;
text-align: center;
}
.content UL.thumbnails IMG.thumbnail {
position: relative;
top: -50%;
/*\*//*/
margin-top: -40%;
/**/
}
/* to avoid vanishing objects in IE6 */
H1, #theHeader {
width: 100%; /* <- useless but seems to make IE6 happy */
}
.content {
height: 1em; /* for IE6 it's like min-height */
}
/* fix category thumbnails on main page */
.content UL.thumbnailCategories {
width: 99%; /* buggy IE box model */
}
/* fix quickconnect layout */
FORM#quickconnect FIELDSET {
width: 99%; /* correct an ugly 1 or 2 px misalignement with IE */
}