Topic: Two collumns tpl file, css powered
hello,
thank you for your support.
here is the "body part" of the main.tpl file i use :
<body>
<div id="main">
<div id="punwrap">
<div id="pun<pun_page>" class="pun">
<div id="summary">
<pun_include "summary.php">
</div>
<div id="content">
<pun_announcement>
<pun_main>
<pun_footer>
</div>
</div>
</div>
</div>
</body>
here are the css elements :
#main
{
margin-left : auto;
margin-right : auto;
}
#summary
{
float: left;
width : 15%;
\width : 15%;
w\idth : 15%;
}
#content
{
margin-left: 15%
}
this :
\width : 15%;
w\idth : 15%;
i don't understand, it was generated by an online css layout generator.
anyway,
1) the summary and the content <div> can't align horizontally ...
2) when i use :
<div id="brdheader" class="block">
<div class="box">
<div id="brdtitle" class="inbox">
<pun_title>
<pun_desc>
</div>
<pun_navlinks>
<pun_status>
</div>
</div>
the 'block' extends to the bottom of the "summary" <div>.
any idea please ?