Heyho,
euch allen zuhause an euren TFT's- oder Röhren-Monitore. Ich ein kleines Problem. Ich möchte 3 Pics nebeinander als Header haben.
Quellcode meiner index.php:
Ausschnitt aus meiner template.css:
Endergebniss:
euch allen zuhause an euren TFT's- oder Röhren-Monitore. Ich ein kleines Problem. Ich möchte 3 Pics nebeinander als Header haben.
Quellcode meiner index.php:
PHP:
<!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"xml:lang="<?php echo $this->language; ?>"lang="<?php echo $this->language; ?>" >
<head>
<link href="<?php echo $this->baseurl ?>/templates/redtel/css/template.css" rel="stylesheet" type="text/css" />
</head>
<body>
<?php echo '<div id="container" style="width:'.$width.';">';?>
<div id="header_l"></div>
<div id="header_bg">
<jdoc:include type="modules" name="breadcrumb" />
</div>
<div id="header_r"></div>
<div id="menue_top"><jdoc:include type="modules" name="top" /></div>
<div id="content">
<jdoc:include type="component" />
</div>
<div id="footer_l"></div>
<div id="footer_bg"></div>
<div id="footer_r"></div>
</div>
</body>
</html>
Code:
body {
text-align: center; /* required for centering the page in IE */
margin: 0px;
padding: 0px;
width:100%;
background-image: url(../images/bg.gif);
background-repeat: repeat-x;
font-family: Arial, sans-serif;
font-size: 12px;
}
#container{
margin:auto;
min-height:400px;
padding-top:10px;
}
#header_l{
height:138px;
width:17px;
background-image: url(../images/header_l.gif);
background-repeat: repeat;
float:left;
display:inline;
}
#header_r{
height:138px;
width:17px;
background-image: url(../images/header_r.gif);
background-repeat: repeat;
float:left;
display:inline;
}
#header_bg{
height:138px;
width: 100%;
background-image: url(../images/header_bg.gif);
background-repeat: repeat-x;
float:left;
display:inline;
}
Zuletzt bearbeitet: