per creare un semplice template (header colonnasinistra colonnadestra footer)in joomla 1.5 sto creando contemporaneamente il file index.php con DW e il file wrapper.css con topstyle ma nell'anteprima la pagina è bianca
file .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>
<jdoc:include type="head" />
<link rel="stylesheet" href="templates/_system/css/general.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
</head>
<body>
<div id="wrapper">
<div id="header">
</div>
<div id="colonnasinistra">
</div>
<div id="colonnadestra">
</div>
<div id="footer">
</div>
</div>
</body>
</html>
file .css
body {
font-family Arial, Helvetica, sans serif;
font-size: 13px;
}
wrapper {
margin: 0 auto;
width: 922px
}
#header {
color: #333;
width: 900px;
float: left;
padding: 10px;
border: 1px solid #892105;
height: 100px;
margin: 10px 0px 5px 0px;
}
#colonnasinistra {
color: #333;
border: 1px solid #892105;
margin: 0px 5px 5px 0px;
padding: 10px;
height: 350px;
width: 195px;
float: left;
}
#contenuti {
float: left;
color: #333;
border: 1px solid #892105;
margin: 0px 5px 5px 0px;
padding: 10px;
height: 350px;
width: 456px;
display: inline;
}
#colonnadestra {
color: #333;
border: 1px solid #892105;
margin: 0px 0px 5px 0px;
padding: 10px;
height: 350px;
width: 195px;
float: left;
}
#footer {
width: 900px;
clear: both;
color: #333;
border: 1px solid #892105;
margin: 0px 0px 10px 0px;
padding: 10px;
}