Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain

TODO (other moodlers): propagate change through header.html in other themes.
This commit is contained in:
nfreear 2006-02-27 14:17:08 +00:00
parent 91247b891f
commit 9fdbbcf768
2 changed files with 7 additions and 4 deletions

View File

@ -17,16 +17,17 @@
<div id="page">
<?php if ($home) { // This is what gets printed on the home page only
<?php //Accessibility: 'headermain' is now H1, see theme/standard/styles_layout.css: .headermain
if ($home) { // This is what gets printed on the home page only
?>
<div id="header-home">
<div class="headermain"><?php echo $heading ?></div>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
</div>
<?php } else if ($heading) { // This is what gets printed on any other page with a heading
?>
<div id="header">
<div class="headermain"><?php echo $heading ?></div>
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
</div>
<?php } ?>

View File

@ -230,8 +230,10 @@ form.popupform {
#header {
}
.headermain {
.headermain, h1.headermain {
float:left;
margin:0%;
padding:0%;
}
.headermenu {