Naja das mit dem Schatten hab ich nun anderes gelöst (jedoch nicht mit css weil es aufwändiger is (mit texturen usw)) Es geht jetzt eher um eine Hintergrundgrafik die aus bestimmten Gründen in nen eigenen Div muss. (warum is ja auch egal und ob es sinnvoll ist. Es geht hauptsächlich darum dass es geht .. bzw dass ich contao verstehe.)
(also ich hab nur das div nach dem div container eingefügt und das div "leer" vor dem "container" (leer geht background nicht)
HTML-Code:
<?php echo $this->doctype; ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->charset; ?>" />
<title><?php echo $this->pageTitle; ?> - <?php echo $this->mainTitle; ?></title>
<base href="<?php echo $this->base; ?>" />
<meta name="robots" content="<?php echo $this->robots; ?>" />
<meta name="description" content="<?php echo $this->description; ?>" />
<meta name="keywords" content="<?php echo $this->keywords; ?>" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<?php echo $this->framework; ?>
<?php echo $this->stylesheets; ?>
<?php echo $this->mooScripts; ?>
<?php echo $this->head; ?>
</head>
<body id="top" class="{{ua::class}}<?php if ($this->class): ?> <?php echo $this->class; ?><?php endif; ?>"<?php if ($this->onload): ?> onload="<?php echo $this->onload; ?>"<?php endif; ?>>
<?php $this->showIE6warning(); ?>
<div id="wrapper">
<?php if ($this->header): ?>
<div id="header">
<div class="inside">
<?php echo $this->header; ?>
</div>
</div>
<?php endif; ?>
<?php echo $this->getCustomSections('before'); ?>
<div id="leer"></div>
<div id="container">
<?php if ($this->left): ?>
<div id="background">
<div id="left">
<div class="inside">
<?php echo $this->left; ?>
</div>
</div>
<?php endif; ?>
<?php if ($this->right): ?>
<div id="right">
<div class="inside">
<?php echo $this->right; ?>
</div>
</div>
<?php endif; ?>
<div id="main">
<div class="inside">
<?php echo $this->main; ?>
</div>
<?php echo $this->getCustomSections('main'); ?>
<div id="clear"></div>
</div>
</div>
</div>
<?php echo $this->getCustomSections('after'); ?>
<?php if ($this->footer): ?>
<div id="footer">
<div class="inside">
<?php echo $this->footer; ?>
</div>
</div>
<?php endif; ?>
</div>
<?php echo $this->mootools; ?>
<?php if (!$this->disableCron): ?>
<script type="text/javascript">
/* <![CDATA[ */
new Request({
url:'system/html/cron.txt',
onComplete: function(txt) {
if (!txt) txt = 0;
if (parseInt(txt) < (Math.round(+new Date()/1000) - 300)) {
new Request({url:'cron.php'}).get();
}
}
}).get();
/* ]]> */
</script>
<?php endif; ?>
</body>
</html>
Lesezeichen