header presentation

header presentation

by ces moce -
Number of replies: 0

hello

I ve been trying to modify my header, but i have some limitation of knowledge... I have a banner image plus a backrgound image and i would like to have in the middle right of this bannner a login form and my login status.

Now i have it under my banner and it use some useful space for nothing.

Can somebody help me with this?

 

Here is the code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html<?php echo $direction ?>>
<head>
<?php echo $meta ?>
<meta name="keywords" content="moodle, <?php echo $title ?> " />
<title><?php echo $title ?></title>
<link rel="shortcut icon" href="<?php echo $CFG->themewww .'/'. current_theme() ?>/favicon.ico"  type="image/vnd.microsoft.icon"/>
<?php include("$CFG->javascript"); ?>

</head>

<body<?php
echo " $bodytags";
if ($focus) {
echo " onload=\"setfocus()\"";
}
?>>

<div id="page">

<?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">
<img src="<?php echo $CFG->themewww .'/'. current_theme() ?>/images/banner.gif" class="centeredImage" align="absbottom" border="0"/<br/><!--<?php echo $heading ?>-->

</div>
<div class="clear">&nbsp;</div>
<?php print_container_end(); ?>

<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">
<a href="<?=$CFG->wwwroot?>"><img src="<?php echo $CFG->themewww .'/'. current_theme() ?>/images/banner.gif" class="centeredImage" align="absbottom" border="0"/></a></div>
<div style="float:top right;" class="headermenu"><?php echo $menu ?></div>
<div id="sousTitre" class="clearfix">
<div class="sousTitre"><?php echo $heading ?></div>             
</div>
</div>

<?php } ?>
<?php //Accessibility: breadcrumb trail/navbar now a DIV, not a table.
if ($navigation) { // This is the navigation bar with breadcrumbs  ?>
<div class="navbar clearfix">
<div class="breadcrumb"><?php print_navigation($navigation); ?></div>
<div class="navbutton"><?php echo $button; ?></div>
</div>  
<?php } else if ($heading) { // If no navigation, but a heading, then print a line 
?>
<!-- <hr />  dv --> 
<?php } ?>
<div class="clearer">&nbsp;</div>
<!-- END OF HEADER -->
<div id="content">

Average of ratings: -