yinyang : Positionierung: Box erweitert sich nicht!

Beitrag lesen

Sorry, bim posten des Codes hat sich einiges verhaspelt! Hier nochmal der Code:

CSS:
.menu {
 bottom: auto;
 width: 150px;

float: left;
 top: 70px;
        left: 40px;
 margin left: 40px;
 position: absolute;

}

#body {
    min-width: 950px;
    text-align:center;
    background-color: #000000;
}

#wrapper {
    margin: 0 auto;
    width: 950px;
    text-align: left;
    position: relative;
}

#logo {
    background-color:#000000;
    width: 950px;
}

#ritter {
 background-image: url(../images/ritter.gif);
    width: 250px;
    height: 468px;
    background-color: #CCCCCC;
    background-repeat: no-repeat;
    right: 0px;
    position: absolute;
    top: 137px;
}

#o-rolle {
    position: relative;
    left: 0px;
    margin: 0;
    top: 0px;
    background-image: url(../images/o-rolle.jpg);
    width: 698px;
    height: 85px;
    background-repeat: no-repeat;
}

#u-rolle {
        position: relative;
 background-image: url(../images/u-rolle.jpg);
 background-repeat: no-repeat;
 height: 87px;
 width: 700px;
 left: 0px;
 margin: 0;
}

#inhalt {
 position: relative;
        background-image: url(../images/m-rolle.jpg);
        background-repeat: repeat-y;
 width: 700px;
 left: 0px;
        max-height: 1000px;
 padding-bottom: 0px;

}

#content{
position: absolute;
float: left;
left: 200px;
}

HTML:

<?php
/**

* template_name - Mambo 4.5.1 template

* @version 4.5.1

* @copyright (C) 2004 by Gilbert Plugowski

* @license all rights reserved

*/
defined( "_VALID_MOS" ) or die( "Direct Access to this location is not allowed." );?>
<!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>
<?php if ( $my->id ) { initEditor(); } ?>
<meta http-equiv="Content-Type" content="text/html;><?php echo _ISO; ?>" />
<?php mosShowHead(); ?>
<?php echo "<link rel="stylesheet" href="$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css" type="text/css"/>" ; ?><?php echo "<link rel="shortcut icon" href="$GLOBALS[mosConfig_live_site]/images/favicon.ico" />" ; ?>
<link href="template-css.css" rel="stylesheet" type="text/css" />
</head>

<body id="body">

<div id="wrapper">
<div id="logo"><img src="http://casa.taijiworld.de/templates/medieval/images/logo3.jpg" width="745" height="137" alt="logo" />
</div>
<div id="ritter"><pre>adsf
adf
adf
adf
afda
fda
fda
dfa
dsf</pre></div>

<div id="o-rolle"></div>

<div id="inhalt">
<div id="content"><?php mosMainBody(); ?></div>
<div id="menu"><?php mosLoadModules ( 'left' ); ?></div>
</div>

<div id="u-rolle"></div>
</div>
</body>
</html>