[hackers] diri: new tip (= 45)

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Fri, 02 Feb 2007 13:50:01 +0100

changeset: 45:b4f901b1ce9a
tag: tip
user: arg_AT_suckless.org
date: Fri Feb 02 13:48:21 2007 +0100
files: show.rc
description:
using min-height of 100% in show.rc

diff -r d856bf27bb6e -r b4f901b1ce9a show.rc
--- a/show.rc Thu Feb 01 15:54:14 2007 +0100
+++ b/show.rc Fri Feb 02 13:48:21 2007 +0100
@@ -70,7 +70,7 @@ Content-Type: text/html
                 <meta name="copyright" content="(C)opyright 2006-2007 by Anselm R. Garbe">
                 <meta name="robots" content="index,follow">
                 <style type="text/css">
- body { background-color: #444; color: #ddd; font-family: sans-serif; margin: 0px; width: 100%; }
+ body { background-color: #444; color: #ddd; font-family: sans-serif; height: 100%; margin: 0px; width: 100%; }
                         img { border: 0px; /* top right bottom left */ }
                         a { color: #9cf; }
                         div#slogan { background-color: #222; border: 0px; float: left; padding: 5px 1% 5px 1%; width: 68%; }
@@ -79,13 +79,13 @@ Content-Type: text/html
                         #ctrlmenu li { display: inline; }
                         #ctrlmenu a { color: #9cf; padding: 5px; text-decoration: none; }
                         #ctrlmenu a:hover { background-color: #333; padding: 5px; text-decoration: none; }
- div#menu { border: 0px; float: left; font-size: 95%; padding: 0%; width: 25%; }
+ div#menu { border: 0px; float: left; font-size: 95%; min-height: 100%; padding: 0%; width: 25%; }
                         #menu ul { padding: 5px 5px 5px 1.5em; }
                         #menu li { list-style: none; padding: 6px; }
                         #menu a { color: #ddd; padding: 4px; text-decoration: none; }
                         #menu a:hover { background-color: #555; padding: 4px; text-decoration: none; }
                         #menu a.current { color: #fff; padding: 4px; text-decoration: none; }
- div#page { background-color: #333; border: 0px; float: left; padding: 2%; width: 71%; min-height: 500px; height:auto !important; height: 500px;}
+ div#page { background-color: #333; border: 0px; float: left; min-height: 100%; padding: 2%; width: 71%; }
 
                         div#bot { background-color: #222; border: 0px; clear: both; padding: 5px 1% 5px 0px; text-align: right; width: 99%; }
                 </style>
Received on Fri Feb 02 2007 - 13:50:01 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:54:49 UTC