Możecie mi powiedzieć czy mam błąd w kodzie ponieważ wyświetla mi się biała strona i nic więcej...
index.php
Kod:
<?php defined(‘_JEXEC’) or die(
‘Brak dostępu’); ?>
<!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; ?>” >
<link rel=”stylesheet”
href=”<?php echo „{$this->baseurl}/templates/{$this->template}/css/template.css”;?>”
type=”text/css” />
<head>
<jdoc:include type=”head” />
</head>
<body>
<div id=”sekcja1”>
</div>
<div id=”sekcja2”>
<div id=”kolumna1”><jdoc:include type=”modules”
name=”left” />
</div>
<div id=”kolumna2”><jdoc:include type=”component” />
</div>
<div id=”kolumna3”><jdoc:include type=”modules”
name=”right” />
</div>
</div>
<div id=”sekcja3”><jdoc:include type=”modules”
name=”footer”/>
</div>
</body>
</html>
template.css
Kod:
body{
font-size: 12px;
font-family: Helvetica,Arial,sans-serif;
}
#sekcja1{
float:left;
width:100%;
background-color: #F0F0F0;
margin-bottom: 2px;
border: 1px solid black;
}
#sekcja2{
float:left;
width:100%;
border: 1px dotted yellow;
margin-bottom: 2px;
}
#sekcja3{
float:left;
width:100%;
border: 2px dotted red;
}
#kolumna1{
float: left;
width: 20%;
background-color: #F0F0F0;
border: 1px dashed silver;
}
#kolumna2{
float:left;
width:58%;
background-color: #FAFAFA;
padding: 0 1px;
margin-left: 5px;
border: 1px dashed silver;
}
#kolumna3{
float: right;
width: 20%;
background-color: #F0F0F0;
border: 1px dashed silver;
}