tekker
02-22-2005, 01:09 PM
Greetings,
I'm having some serieous problems I can't come out myself, trying for weeks now.
Can someone please give me a hand.
The positioning of my site is totally not stretching as it suppose to.
Hopefully someone can help me with my code here, probarly css code that isn't correct like the absolute and the relative, I dunno if you are able to combine it with eachother, if I combine it it never gives a good result.
... thank you ... I would appriciate it soo much, sorry I sound desperate but I kinda am lol
This is the link of the site, how it looks when streteched ...
http://test.wrw.be/lan_test/contentslice.php
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>contentslice</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1" />
<style type="text/css">
html {
overflow-x: hidden;}
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
background: #427A91;
color: white;
margin-top: 0}
.text {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #FFFFFF;}
.hButton {
border-color: #FFFFFF;
border-style: double;
border-width: 0;
font-size: 8pt;
font-family: arial;}
.bgtext {
font-family: Verdana, Arial, Helvetica, sans-serif;
background-attachment: fixed;
background-image: url(images/bgtext_small.jpg);
background-repeat: no-repeat;
background-color: #427A91;
color: #FFFFFF;
border-top: 1px solid #111111;
border-left: 1px solid #111111;
border-right: 1px solid #465263;
border-bottom: 1px solid #465263;}
#mainDiv {
background-image: url(images/bg_tmp.jpg);
position: absolute;
width: 810px;
background-position: top left;
background-attachment: fixed;
margin-left: auto;
margin-right: auto;
visibility: visible;
z-index: 1;
}
#TitleDiv {
background-image: url(images/contentslice_01.jpg);
position: relative;
left: 0;
top: 0;
width:815px;
height:151px;
z-index:3;
visibility: visible;}
#LeftPiston {
background-image: url(images/contentslice_02.jpg);
position: absolute;
left: 0;
top: 151;
width: 63px;
height: 211px;
z-index:5;
visibility: visible;
vertical-align:top;}
#LoginDiv {
background-image: url(images/contentslice_03.jpg);
position: absolute;
left:63px;
top: 0;
width:203px;
height:118px;
z-index:1;
visibility: visible;}
#PicDiv {
background-image: url(images/contentslice_04.jpg);
position: absolute;
left:203px;
top: 0;
width:279px;
height:118px;
z-index:1;
visibility: visible;}
#ContentRightStatus {
background-image: url(images/contentslice_05.jpg);
position: relative;
left: 279px;
top: 0;
width: 225px;
height: 118px;
z-index:2;
visibility: visible;}
#RightPiston {
background-image: url(images/contentslice_06.jpg);
position: absolute;
left: 217px;
top: 0;
width: 59px;
height: 211px;
z-index:3;
visibility: visible;}
#NieuwsField {
position: relative;
left: 71px;
top: 104px;
width: 482px;
height: 135px;
z-index:2;
visibility: visible;}
#ContentLeftWhere {
background-image: url(images/contentslice_08.jpg);
position: absolute;
left: 482px;
top: 0;
width: 219px;
height: 194px;
z-index:2;
visibility: visible;}
#LeftLight {
background-image: url(images/contentslice_09.jpg);
position: relative;
left: 0px;
top: 0;
width: 63px;
height: 145px;
z-index:1;
visibility: visible;}
#ContentRightCompo {
background-image: url(images/contentslice_11.jpg);
position: absolute;
left: 482px;
top: 190;
width: 219px;
height: 294px;
z-index:1;
visibility: visible;}
#RightLight {
background-image: url(images/contentslice_10.jpg);
position: relative;
left: 762px;
top: 0;
width: 63px;
height: 145px;
z-index:1;
visibility: visible;}
#LeftLight2 {
background-image: url(images/contentslice_12.jpg);
position: relative;
left: 0px;
top: 0;
width: 63px;
height: 500px;
z-index:1;
visibility: visible;}
#LeftPistonBottom {
background-image: url(images/contentslice_14.jpg);
position: absolute;
left: 63px;
bottom: 0;
width: 30px;
height: 217px;
z-index:1;
visibility: visible;}
#Bottom {
background-image: url(images/contentslice_17.jpg);
position: absolute;
left: 30px;
bottom: 0;
width: 643px;
height: 87px;
z-index:1;
visibility: visible;}
#BottomDivBanners {
background-image: url(images/contentslice_15.jpg);
position: relative;
left: 30px;
bottom: 0;
width: 643px;
height: 130px;
z-index:1;
visibility: visible;}
#RightPistonBottom {
background-image: url(images/contentslice_16.jpg);
position: absolute;
left: 673px;
bottom: 0;
width: 26px;
height: 217px;
z-index:1;
visibility: visible;}
#RightLight2 {
background-image: url(images/contentslice_13.jpg);
position: relative;
left: 762px;
top: 0;
width: 68px;
height: 500px;
z-index:1;
visibility: visible;}
</style>
</HEAD>
<BODY>
<div id="MainDiv">
<div id="TitleDiv"></div>
<div id="LeftPiston">
<div id="LoginDiv">
<TD width="204" ROWSPAN=2 background="images/contentslice_22.jpg"> <table width="90%" height="99%" align="center" bordercolor="#427A91" bordercolorlight="#333333" bordercolordark="#333333" class="text">
<tr>
<td width="100%"> <form name="form1" method="post" action="http://www.lan.wrw.be/forum/misc.php?action=login">
<div align="left">Login:<br>
<input name="username" type="text" class="bgtext" onFocus="clearText(this)" size="12" maxlength="12">
<br>
Paswoord:<br>
<input name="password" type="password" class="bgtext" onFocus="clearText(this)" size="12" maxlength="12">
<input class="hButton" type="submit" value="Zend" name="loginsubmit">
</div>
</form></td>
</tr>
</table></TD>
<div id="PicDiv">
<div id="ContentRightStatus">
<div id="RightPiston"> </div>
<br>
<table width="90%" border="0" align="center" cellpadding="4" cellspacing="3" class="text">
<tr>
<td width="55%"> <div align="right">Geregistreerde</div></td>
<td width="3%"> <div align="left"><strong>:</strong></div></td>
<td width="42%"><div align="center">php</div></td>
</tr>
<tr>
<td><div align="right">Betaald</div></td>
<td><div align="left"><strong>:</strong></div></td>
<td><div align="center">php</div></td>
</tr>
<tr>
<td><div align="right">Clans</div></td>
<td><div align="left"><strong>:</strong></div></td>
<td><div align="center">php</div></td>
</tr>
</table>
</div>
</div>
</div>
</div>
<div id="NieuwsField">
<p class="text">
<?PHP
$template = "wrw";
include("news/show_news.php");
?>
</p>
<div id="ContentLeftWhere"> <br>
<br>
<table width="90%" border="0" align="center" cellpadding="4" cellspacing="1" class="text">
<tr>
<td width="55%"> <div align="center"><strong>1-2-3 juli 2005</strong></div></td>
</tr>
<tr>
<td><div align="center">Emielle VanDeVeldelaan 25</div></td>
</tr>
<tr>
<td><div align="center">2845 Niel</div></td>
</tr>
</table>
<table width="90%" border="0" align="center" cellpadding="4" cellspacing="3" class="text">
<tr>
<td> <div align="center">€17,50 voor 30 mei</div></td>
</tr>
<tr>
<td><div align="center">€20,00 1 juni - 30 juni</div></td>
</tr>
<tr>
<td><div align="center">€25,00 aan de deur</div></td>
</tr>
</table>
</div>
<div id="ContentRightCompo"> <br>
<br>
<table width="90%" border="0" align="center" cellpadding="4" cellspacing="1" class="text">
<tr>
<td width="55%"> <div align="left"><strong>Game-Compo's:</strong></div></td>
</tr>
<tr>
<td><div align="left"> # Counterstrike 5X5 cup</div></td>
</tr>
<tr>
<td><div align="left"># Unreal Tournament 2004 2X2</div></td>
</tr>
<tr>
<td><div align="left"># Quake 3 2x2</div></td>
</tr>
<tr>
<td><div align="left"># Unreal Tournament Instagib</div></td>
</tr>
<tr>
<td><div align="left"># Warcraft 3 duel</div></td>
</tr>
</table>
<table width="90%" border="0" align="center" cellpadding="4" cellspacing="1" class="text">
<tr>
<td width="55%"> <div align="left"><strong>fun-Compo's:</strong></div></td>
</tr>
<tr>
<td><div align="left">$ NFSU2</div></td>
</tr>
<tr>
<td><div align="left">$ Surprice compo (multimedia)</div></td>
</tr>
<tr>
<td><div align="left">$ Tetrinet</div></td>
</tr>
</table>
</div>
</div>
<div id="LeftLight">
<div id="RightLight"> </div>
</div>
<div id="LeftLight2">
<div id="RightLight2"></div>
<div id="LeftPistonBottom">
<div id="RightPistonBottom"></div>
<div id="Bottom"></div>
<div id="BottomDivBanners"></div>
</div>
</div>
</div>
<?php
define("_BBC_PAGE_NAME", "Index - Lanparty");
define("_BBCLONE_DIR", "counter/");
define("COUNTER", _BBCLONE_DIR."mark_page.php");
if (is_readable(COUNTER)) include_once(COUNTER);
?>
</BODY>
</HTML>
---------------------------------------------------------------------
I'm having some serieous problems I can't come out myself, trying for weeks now.
Can someone please give me a hand.
The positioning of my site is totally not stretching as it suppose to.
Hopefully someone can help me with my code here, probarly css code that isn't correct like the absolute and the relative, I dunno if you are able to combine it with eachother, if I combine it it never gives a good result.
... thank you ... I would appriciate it soo much, sorry I sound desperate but I kinda am lol
This is the link of the site, how it looks when streteched ...
http://test.wrw.be/lan_test/contentslice.php
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>contentslice</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1" />
<style type="text/css">
html {
overflow-x: hidden;}
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
background: #427A91;
color: white;
margin-top: 0}
.text {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #FFFFFF;}
.hButton {
border-color: #FFFFFF;
border-style: double;
border-width: 0;
font-size: 8pt;
font-family: arial;}
.bgtext {
font-family: Verdana, Arial, Helvetica, sans-serif;
background-attachment: fixed;
background-image: url(images/bgtext_small.jpg);
background-repeat: no-repeat;
background-color: #427A91;
color: #FFFFFF;
border-top: 1px solid #111111;
border-left: 1px solid #111111;
border-right: 1px solid #465263;
border-bottom: 1px solid #465263;}
#mainDiv {
background-image: url(images/bg_tmp.jpg);
position: absolute;
width: 810px;
background-position: top left;
background-attachment: fixed;
margin-left: auto;
margin-right: auto;
visibility: visible;
z-index: 1;
}
#TitleDiv {
background-image: url(images/contentslice_01.jpg);
position: relative;
left: 0;
top: 0;
width:815px;
height:151px;
z-index:3;
visibility: visible;}
#LeftPiston {
background-image: url(images/contentslice_02.jpg);
position: absolute;
left: 0;
top: 151;
width: 63px;
height: 211px;
z-index:5;
visibility: visible;
vertical-align:top;}
#LoginDiv {
background-image: url(images/contentslice_03.jpg);
position: absolute;
left:63px;
top: 0;
width:203px;
height:118px;
z-index:1;
visibility: visible;}
#PicDiv {
background-image: url(images/contentslice_04.jpg);
position: absolute;
left:203px;
top: 0;
width:279px;
height:118px;
z-index:1;
visibility: visible;}
#ContentRightStatus {
background-image: url(images/contentslice_05.jpg);
position: relative;
left: 279px;
top: 0;
width: 225px;
height: 118px;
z-index:2;
visibility: visible;}
#RightPiston {
background-image: url(images/contentslice_06.jpg);
position: absolute;
left: 217px;
top: 0;
width: 59px;
height: 211px;
z-index:3;
visibility: visible;}
#NieuwsField {
position: relative;
left: 71px;
top: 104px;
width: 482px;
height: 135px;
z-index:2;
visibility: visible;}
#ContentLeftWhere {
background-image: url(images/contentslice_08.jpg);
position: absolute;
left: 482px;
top: 0;
width: 219px;
height: 194px;
z-index:2;
visibility: visible;}
#LeftLight {
background-image: url(images/contentslice_09.jpg);
position: relative;
left: 0px;
top: 0;
width: 63px;
height: 145px;
z-index:1;
visibility: visible;}
#ContentRightCompo {
background-image: url(images/contentslice_11.jpg);
position: absolute;
left: 482px;
top: 190;
width: 219px;
height: 294px;
z-index:1;
visibility: visible;}
#RightLight {
background-image: url(images/contentslice_10.jpg);
position: relative;
left: 762px;
top: 0;
width: 63px;
height: 145px;
z-index:1;
visibility: visible;}
#LeftLight2 {
background-image: url(images/contentslice_12.jpg);
position: relative;
left: 0px;
top: 0;
width: 63px;
height: 500px;
z-index:1;
visibility: visible;}
#LeftPistonBottom {
background-image: url(images/contentslice_14.jpg);
position: absolute;
left: 63px;
bottom: 0;
width: 30px;
height: 217px;
z-index:1;
visibility: visible;}
#Bottom {
background-image: url(images/contentslice_17.jpg);
position: absolute;
left: 30px;
bottom: 0;
width: 643px;
height: 87px;
z-index:1;
visibility: visible;}
#BottomDivBanners {
background-image: url(images/contentslice_15.jpg);
position: relative;
left: 30px;
bottom: 0;
width: 643px;
height: 130px;
z-index:1;
visibility: visible;}
#RightPistonBottom {
background-image: url(images/contentslice_16.jpg);
position: absolute;
left: 673px;
bottom: 0;
width: 26px;
height: 217px;
z-index:1;
visibility: visible;}
#RightLight2 {
background-image: url(images/contentslice_13.jpg);
position: relative;
left: 762px;
top: 0;
width: 68px;
height: 500px;
z-index:1;
visibility: visible;}
</style>
</HEAD>
<BODY>
<div id="MainDiv">
<div id="TitleDiv"></div>
<div id="LeftPiston">
<div id="LoginDiv">
<TD width="204" ROWSPAN=2 background="images/contentslice_22.jpg"> <table width="90%" height="99%" align="center" bordercolor="#427A91" bordercolorlight="#333333" bordercolordark="#333333" class="text">
<tr>
<td width="100%"> <form name="form1" method="post" action="http://www.lan.wrw.be/forum/misc.php?action=login">
<div align="left">Login:<br>
<input name="username" type="text" class="bgtext" onFocus="clearText(this)" size="12" maxlength="12">
<br>
Paswoord:<br>
<input name="password" type="password" class="bgtext" onFocus="clearText(this)" size="12" maxlength="12">
<input class="hButton" type="submit" value="Zend" name="loginsubmit">
</div>
</form></td>
</tr>
</table></TD>
<div id="PicDiv">
<div id="ContentRightStatus">
<div id="RightPiston"> </div>
<br>
<table width="90%" border="0" align="center" cellpadding="4" cellspacing="3" class="text">
<tr>
<td width="55%"> <div align="right">Geregistreerde</div></td>
<td width="3%"> <div align="left"><strong>:</strong></div></td>
<td width="42%"><div align="center">php</div></td>
</tr>
<tr>
<td><div align="right">Betaald</div></td>
<td><div align="left"><strong>:</strong></div></td>
<td><div align="center">php</div></td>
</tr>
<tr>
<td><div align="right">Clans</div></td>
<td><div align="left"><strong>:</strong></div></td>
<td><div align="center">php</div></td>
</tr>
</table>
</div>
</div>
</div>
</div>
<div id="NieuwsField">
<p class="text">
<?PHP
$template = "wrw";
include("news/show_news.php");
?>
</p>
<div id="ContentLeftWhere"> <br>
<br>
<table width="90%" border="0" align="center" cellpadding="4" cellspacing="1" class="text">
<tr>
<td width="55%"> <div align="center"><strong>1-2-3 juli 2005</strong></div></td>
</tr>
<tr>
<td><div align="center">Emielle VanDeVeldelaan 25</div></td>
</tr>
<tr>
<td><div align="center">2845 Niel</div></td>
</tr>
</table>
<table width="90%" border="0" align="center" cellpadding="4" cellspacing="3" class="text">
<tr>
<td> <div align="center">€17,50 voor 30 mei</div></td>
</tr>
<tr>
<td><div align="center">€20,00 1 juni - 30 juni</div></td>
</tr>
<tr>
<td><div align="center">€25,00 aan de deur</div></td>
</tr>
</table>
</div>
<div id="ContentRightCompo"> <br>
<br>
<table width="90%" border="0" align="center" cellpadding="4" cellspacing="1" class="text">
<tr>
<td width="55%"> <div align="left"><strong>Game-Compo's:</strong></div></td>
</tr>
<tr>
<td><div align="left"> # Counterstrike 5X5 cup</div></td>
</tr>
<tr>
<td><div align="left"># Unreal Tournament 2004 2X2</div></td>
</tr>
<tr>
<td><div align="left"># Quake 3 2x2</div></td>
</tr>
<tr>
<td><div align="left"># Unreal Tournament Instagib</div></td>
</tr>
<tr>
<td><div align="left"># Warcraft 3 duel</div></td>
</tr>
</table>
<table width="90%" border="0" align="center" cellpadding="4" cellspacing="1" class="text">
<tr>
<td width="55%"> <div align="left"><strong>fun-Compo's:</strong></div></td>
</tr>
<tr>
<td><div align="left">$ NFSU2</div></td>
</tr>
<tr>
<td><div align="left">$ Surprice compo (multimedia)</div></td>
</tr>
<tr>
<td><div align="left">$ Tetrinet</div></td>
</tr>
</table>
</div>
</div>
<div id="LeftLight">
<div id="RightLight"> </div>
</div>
<div id="LeftLight2">
<div id="RightLight2"></div>
<div id="LeftPistonBottom">
<div id="RightPistonBottom"></div>
<div id="Bottom"></div>
<div id="BottomDivBanners"></div>
</div>
</div>
</div>
<?php
define("_BBC_PAGE_NAME", "Index - Lanparty");
define("_BBCLONE_DIR", "counter/");
define("COUNTER", _BBCLONE_DIR."mark_page.php");
if (is_readable(COUNTER)) include_once(COUNTER);
?>
</BODY>
</HTML>
---------------------------------------------------------------------