aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/fix-ie5-ie6.css
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2006-06-24 06:40:39 +0000
committerchrisaga <chrisaga@piwigo.org>2006-06-24 06:40:39 +0000
commit235cd535398d706ba8c26314660549bba9be555f (patch)
treefc3d16a2d4932d3a1fd62afd4ab90947a256ffcb /template/yoga/fix-ie5-ie6.css
parent3ec2f102b5776b2b2f36d0a23d02ff4b34319f83 (diff)
improve template : feature 433: Separate IE6 css to be more IE7 ready
git-svn-id: http://piwigo.org/svn/trunk@1382 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/fix-ie5-ie6.css')
-rw-r--r--template/yoga/fix-ie5-ie6.css36
1 files changed, 34 insertions, 2 deletions
diff --git a/template/yoga/fix-ie5-ie6.css b/template/yoga/fix-ie5-ie6.css
index 8dad42298..e78b0bda4 100644
--- a/template/yoga/fix-ie5-ie6.css
+++ b/template/yoga/fix-ie5-ie6.css
@@ -1,5 +1,5 @@
-/* $Id:$ */
-/* Issues in IE from 5 to 6 only to to be used with IE7 */
+/* $Id$ */
+/* Issues in IE from 5 to 6 only not to be used with IE7 */
/* fix lack of :hover behaviour for non link objects */
BODY {
@@ -20,3 +20,35 @@ UL.tagSelection LI INPUT,
border: none;
background-color: transparent;
}
+
+/* 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 LABEL {
+ overflow: visible;
+ position: absolute;
+ top: 50%;
+ text-align: center;
+}
+#content UL.thumbnails IMG.thumbnail {
+ position: relative;
+ top: -50%;
+ /*\*//*/
+ margin-top: -40%;
+ /**/
+}
+#content UL.thumbnails SPAN.wrap2 input {
+ position: absolute;
+ left: 0;
+ top: -50%; /* same as other browsers but not so pretty */
+}
+
+/* fix category thumbnails on main page */
+#content UL.thumbnailCategories {
+ width: 99%; /* buggy IE box model */
+}
+