Ciao vorrei un aiuto per un prblema con una template che sto cercando di finire.
Questo è il codice html:<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = split( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php mosShowHead(); ?>
<link href="templates/<?php echo $mainframe->getTemplate(); ?>/css/template_css.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/images/favicon.ico" />
</head>
<body>
<div id="contenitore">
<div id="contenitore2">
<div id="titolo"><?php mosLoadModules ( 'testa' ); ?></div>
<div id="sinistra"><?php mosLoadModules ( 'left' ); ?></div>
<div id="destra"><?php mosLoadModules ( 'right' ); ?></div>
<div id="nav"><?php mosPathWay(); ?></div>
<div id="contentuo"><?php mosMainBody(); ?></div>
<div id="piede"><?php include_once( $GLOBALS['mosConfig_absolute_path']. '/includes/footer.php' ); ?></div>
</div>
</div>
</body>
</html>
e questo il foglio di stile:html,body{
margin: 0px;
padding: 0px;
}
body{
font-family: Tahoma;
font-size: 10px;
text-align: center;
}
#contenitore{
width:762px;
margin-left: auto;
margin-right: auto;
background-color: White;
}
#contenitore2{
width:762px;
text-align: left;
background-color: Silver;
}
#sinistra{
float: left;
width: 120px;
padding-right: 6px;
background-color: Green;
}
#contenuto{
float: left;
background-color: Gray;
width: 450px;
text-align: left;
}
#destra{
float: right;
width: 190px;
padding-left: 5px;
background-color: Fuchsia;
}
#piede{
clear:both;
text-align: center;
padding-top: 5px;
background-color: Red;
color: #000;
}
la visualizzazione del sito, va bene, solo che con alcune sezioni la parte centrale (main body) si sovrappone alla coolonna di destra. non riesco a capire quale sia il problema, GRAZIE!..
p.s.
scusate la domanda idiota ma che differenza c'è tra scivere
<?php mosLoadModules ( 'left' ); ?> e <?php mosLoadModules ( 'left' -1); ?> o <?php mosLoadModules ( 'left' -2); ?>
