Ludo: That didn´t solve my problem either. Ehm I like the miniportal when the left and for me the right block are "fixed" and the middle ("main") section changes. I´m really new to all this....haven´t seen <div> before haha...but I think I´ve solved the issue. If you would like to see my progress visit http://www.testforumet.frac.dk Below is my new main.tpl (I will update this code later )
2005-01-21 23:01 main.tpl code updated...
The above problem is now solved (as you can see in the code below) The page is slowly developing but I´ve noticed a new problem. If you visit http://testforumet.frac.dk and take a look at the top banner. There´s a white gap between the banner and the absolut top...All of my margins are set to "0" except in the *.css file located att style/kontrast.css. If I change padding to 0px 6px the gap dissipears but it also changes the paddings in the forum negative...is there a way to solve this?
kontrast.css below
/* 7. SPACING FOR TABLES */
/****************************************************************/
.pun TH, .pun TD {PADDING: 4px 6px}
.pun TD P {PADDING: 5px 0 0 0}
main.tpl below
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html dir="<pun_content_direction>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<pun_head>
<style type="text/css">
#left {
width: 94px;
float: left;
}
#right {
width: 122px;
float: right;
}
#main {
float: middle;
margin-left: 0px;
margin-right: 0px;
}
#container {
width: 100%;
float: middle;
margin-left: 0px;
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
a:link {
color: #000000;
}
a:visited {
color: #000000;
}
</style>
</head>
<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
<div id="punwrap">
<div id="pun<pun_page>" class="pun">
<table border="0" width="100%" style="border-width: 0px">
<tr>
<td style="border-style: none; border-width: medium">
<img src="top2.jpg" alt="" width="702" height="92" align="right"/></td>
</tr>
<tr>
<td width="193%" background="img/Kontrast/bg-barre.gif" style="border-style: none; border-width: medium">
<p align="center"><font color="#FFFFFF" face="Verdana" size="1">
Välkommen till Svenska Counter-Strike:source forume</font></td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0" style="border-width: 0px">
<tr>
<td style="border-style: none; border-width: medium">
<pun_desc>
<pun_status>
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bgcolor="ffffff" style="border-collapse: collapse">
<tr>
<td width="94" valign="top" border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" bgcolor="ffffff" style="border-style:none; border-width:medium; border-collapse: collapse">
<div class="block">
<h2 align="center"><span>Menu</span></h2>
<div class="box">
<pun_sidelinks>
</div>
</div>
<div class="block">
<h2 class="block2" align="center"><span>Online</span></h2>
<div class="box">
<pun_online>
</div>
</div>
<div class="block">
<h2 class="block2" align="center"><span>More Links</span></h2>
<div class="box">
<div class="inbox">
<ul>
<li><a href="Gamlaregler.php">Link 1</a></li>
<li><a href="index.php">Link 2</a></li>
<li><a href="index.php">Link 3</a></li>
<li><a href="index.php">Link 4</a></li>
</ul>
</div>
</div>
</div>
</div>
<td width="100%" valign="top" border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" bgcolor="ffffff" style="border-style:none; border-width:medium; border-collapse: collapse">
<div id="container">
<div id="main">
<pun_announcement>
<pun_main>
</div>
</div>
<div class="clearer"></div>
<pun_footer>
</div>
</div></td>
<td width="122" valign="top" border="0" cellpadding="0" cellspacing="0" bordercolor="#000000" bgcolor="ffffff" style="border-style:none; border-width:medium; border-collapse: collapse">
<div id="right">
<div class="block">
<h2 align="center" class="block2"><span>Reklam</span></h2>
<div class="box">
<div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-3579073172279224";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_page_url = document.location;
google_color_border = "ffffff";
google_color_bg = "324160";
google_color_link = "FFFFFF";
google_color_url = "FFFFFF";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</div>
</div>
</div></td>
</tr>
</table>
</body>
</html>