Update the IE fullscreen CSS hacks for IE7.
authorSteinar H. Gunderson <sesse@debian.org>
Sun, 2 Sep 2007 17:12:40 +0000 (19:12 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Sun, 2 Sep 2007 17:12:40 +0000 (19:12 +0200)
files/pr0n-fullscreen-ie.css [new file with mode: 0644]
files/pr0n-fullscreen.css
perl/Sesse/pr0n/pr0n.pm
templates/default/fullscreen-header

diff --git a/files/pr0n-fullscreen-ie.css b/files/pr0n-fullscreen-ie.css
new file mode 100644 (file)
index 0000000..012386e
--- /dev/null
@@ -0,0 +1,12 @@
+/* IE centering hacks */
+#iehack {
+       position: absolute;
+       top: 50%;
+       left: 50%;
+}
+#image {
+       position: relative;
+       top: -50%;
+       left: -50%;
+}
+
index 7ef5221a17c0be7ba9499c7fa2e9935f62ea18bf..a61676c8d25d255e636b2600a1c9ce1e82555884 100644 (file)
@@ -11,18 +11,6 @@ body {
        text-align: center;
 }
 
-/* IE centering hacks */
-#iehack {
-       _position: absolute;
-       _top: 50%;
-       _left: 50%;
-}
-#image {
-       _position: relative;
-       _top: -50%;
-       _left: -50%;
-}
-
 img, #text {
        vertical-align: middle;
 }
index b65ccf096c1797fb5c95a5b1f5b65d2ec0b9c303..16b696414202144b42c76ef93767118782c4874b 100644 (file)
@@ -25,6 +25,7 @@ sub handler {
                 $uri eq '/blah.png' ||
                 $uri eq '/faq.html' ||
                 $uri eq '/pr0n-fullscreen.css' ||
+                $uri eq '/pr0n-fullscreen-ie.css' ||
                 $uri eq '/pr0n-fullscreen.js' ||
                 $uri eq '/previous.png' ||
                 $uri eq '/next.png' ||
index 179753f6b9bca0ba2ff3deb9904eaebacba7c99d..0a77d72f21086383da23731137a18666636c9f1d 100644 (file)
@@ -5,6 +5,9 @@
   <head>
     <title>%TITLE%</title>
     <link rel="stylesheet" href="/pr0n-fullscreen.css" type="text/css" />
+    <!--[if IE]>
+    <link rel="stylesheet" href="/pr0n-fullscreen-ie.css" type="text/css" />
+    <![endif]-->
     <script type="text/JavaScript">
 // the following code snippet is generated by the server
 var global_image_list = [