]> Pileus Git - ~andy/aweather-web/commitdiff
Fixes for IE7
authorAndy Spencer <andy753421@gmail.com>
Fri, 17 Jun 2011 07:26:49 +0000 (07:26 +0000)
committerAndy Spencer <andy753421@gmail.com>
Fri, 17 Jun 2011 07:26:49 +0000 (07:26 +0000)
IE6 is unsupported

data/global.css
html.ct

index f65efc91f4ed8fdcd58e6ac2fbc5f3d67b86942b..f994c375ebacb463878f6e969e2a3e7f082e6205 100644 (file)
@@ -66,7 +66,7 @@ body {
        background-color: white;
        margin-left: auto;
        margin-right: auto;
-       font-family: sans-serif;
+       font-family: 'DejaVu Sans', Arial, sans-serif;
        width: 850px;
        /* width: 80%; */
 
@@ -92,7 +92,6 @@ body {
        font-size: 22pt;
        font-weight: bold;
        font-style: italic;
-       font-family: 'DejaVu Sans', sans-serif;
        color: #222;
 }
 
@@ -112,10 +111,6 @@ body {
 }
 
 .nav .sep {
-       float: left;
-       clear: none;
-       display: block;
-       float: left;
        width: 0px;
        height: 36px;
        border-left:  solid 1px #222;
@@ -161,10 +156,6 @@ body {
        margin: 25px 0 25px 0;
 }
 
-.content ul.left {
-       width: 250px;
-}
-
 .content a {
        text-decoration: underline;
 }
diff --git a/html.ct b/html.ct
index af42dca22a60d76be1020df741836c5d2d209347..e3c3527173e2609f3809b95f6adc4b0ac34afe0b 100644 (file)
--- a/html.ct
+++ b/html.ct
@@ -2,7 +2,7 @@
 
 <% /* Global functions */ %>
 <% void print_header(void) { %>
-Content-Type: application/xhtml+xml; charset=UTF-8
+Content-Type: text/html; charset=UTF-8
 
 <% } %>
 
@@ -35,13 +35,13 @@ Content-Type: application/xhtml+xml; charset=UTF-8
                        <h1 class="title"><a href=".">AWeather</a></h1>
                        <h2 class="nav">
                                <% for (int i = 0; header[i].link; i++) print_nav(&header[i], page); %>
-                               <span class="sep" />
+                               <span class="sep"></span>
                                <% print_nav(&grits[0], page); %>
                        </h2>
                </div>
                <div class="content">
                        <% page->print(); %>
-                       <br style="clear:both;" />
+                       <div style="clear:both;"></div>
                </div>
                <p class="footer">
                        Copyright © 2011 Andy Spencer
@@ -318,7 +318,7 @@ Content-Type: application/xhtml+xml; charset=UTF-8
                </a>
        </div>
        <b>Features:</b>
-       <ul class="left">
+       <ul>
                <li>Detailed Level-II radar</li>
                <li>3D volume rendering</li>
                <li>Dual-pole support</li>