h3,h4 attrs -> +=h5,h6,caption
[www.energie.vellum.cz.git] / common.php
index ee3f22a..d66927f 100644 (file)
@@ -281,7 +281,7 @@ function title_icons($year,$month)
                        print("<td></td>");
                        $month++;
                        }
-               print("<td align=\"center\""
+               print("<td align=\"center\" valign=\"top\""
                                .($row["month_last"]!=$row["month"] ? " colspan=\"".($row["month_last"]+1-$row["month"])."\"" : "")
                                .">");
                title_icons_table_month($year,$row["month"]+1,$row["month_last"]+1,$row["sequential"]);
@@ -381,6 +381,7 @@ function heading($title=false)
        global $HTTP_SERVER_VARS,$msie_major,$mozilla_major,$title_tail,$head_css,$have_css,$head;
 
        header("Content-type: text/html");
+       header("Content-Style-Type: text/css");
        if (!isset($msie_major) || $msie_major>=4)
                print('<?xml version="1.0" encoding="'.$HTTP_SERVER_VARS["CLIENT_CHARSET"].'"?>'."\n");
 ?>