fix some webif rendering bugs
authorMike Baker <mbm@openwrt.org>
Thu, 15 Jun 2006 21:58:38 +0000 (21:58 +0000)
committerMike Baker <mbm@openwrt.org>
Thu, 15 Jun 2006 21:58:38 +0000 (21:58 +0000)
SVN-Revision: 3957

openwrt/package/webif/files/usr/lib/webif/webif.sh
openwrt/package/webif/files/www/webif.css

index f94b8146b9d7f1d143d50236b747673b8aa0d82a..a81c245742e30b4929ee655a3f3fc9a052029c18 100644 (file)
@@ -89,7 +89,6 @@ Pragma: no-cache
        <head>
        <title>@TR<<OpenWrt Administrative Console>></title>
                <link rel="stylesheet" type="text/css" href="/webif.css" />
-               <!--[if IE]> <style> #save { position: relative; }</style> <![endif]-->
                <meta http-equiv="Content-Type" content="text/html; charset=@TR<<Encoding|ISO-8859-1>>" />
        </head>
        <body $4><div id="container">
index f3efb40144f1bc96081c0f1f8535d3f7702e230b..533107f77adc6f691f20788107e20f989e2b97e9 100644 (file)
@@ -46,6 +46,11 @@ option {
 
 #container {
        position: relative;
+       height: 100%;
+}
+
+#container[class] {
+       height: auto;
        min-height: 100%;
 }
 
@@ -156,13 +161,6 @@ option {
 #save {
        position: absolute;
        bottom: 0;
-       clear: both;
-       width: 100%;
-       height: 7.4em;
-}
-
-#save .page-save {
-       height: 2.3em;
        width: 100%;
 }