pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] r4112 - trunk/htdocs


From: grumbel at BerliOS
Subject: [Pingus-CVS] r4112 - trunk/htdocs
Date: Mon, 12 Apr 2010 15:52:58 +0200

Author: grumbel
Date: 2010-04-12 15:52:58 +0200 (Mon, 12 Apr 2010)
New Revision: 4112

Modified:
   trunk/htdocs/index.html
Log:
Center the image on the page


Modified: trunk/htdocs/index.html
===================================================================
--- trunk/htdocs/index.html     2010-04-12 13:43:31 UTC (rev 4111)
+++ trunk/htdocs/index.html     2010-04-12 13:52:58 UTC (rev 4112)
@@ -4,14 +4,32 @@
 <html>
   <head>
     <title>Pingus - A journey into the unknown... [Release 0.7.2 out 
now!]</title>
+    <style type="text/css">
+      body, html {
+      height: 100%; 
+      padding: 0;
+      margin:  0; 
+      background-color: black;
+      }
+
+      #outer {
+      width: 100%;
+      height: 100%;
+      display: table; 
+      }
+      
+      #middle {
+      display: table-cell; 
+      vertical-align: middle; 
+      text-align: center;
+      }
+    </style>
   </head>
-<!-- bgcolor="#707f9b -->
-<body text="text" bgcolor="black" style="margin-top: 20px;">
-     <center>
-    <a href="welcome.html"><img style="border-style: none"
-src="images/logo_large.jpg"
-    alt="Pingus - A journey into the unknown...
-Click to Enter"/></a>
-    </center>    
+  <body>
+    <div id="outer">
+    <div id="middle">
+      <a href="welcome.html"><img style="border-style: none" 
src="images/logo_large.jpg" alt="Pingus - A journey into the unknown..."/></a>
+    </div>
+    </div>
   </body>
 </html>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]