Front page Problem

LTSPLAY

New Member
Hey everyone,
Ive been making websites with frontpage for a few years now but ive come across something i cant workout...... im my recent website i have aligned the table to the centre of the page, but when i try and add a new table on either side of the main table it will just push the main table down and insert the new one up the top. how can i have the main table centred but still add aditional tables to the left and right for eg advertisments and sponsors,

hope that makes sense thanks for any help

Aaron
 

ISDProductions

New Member
You could always find a nice script to handle that as well
something like this (with the particulars changed for your site)

<SCRIPT LANGUAGE="JavaScript">
<!--
var ns4up = (document.layers) ? 1 : 0;
var ie4up = (document.all) ? 1 : 0;

function HOffset()
{
var window_width = window.innerWidth ? window.innerWidth : (document.body.clientWidth ? document.body.clientWidth : 0);
return Math.max( 0, Math.floor( (window_width - 800) / 2 ) - 0 ).toString();
}
document.write( "<DIV ID='IDAlignPage' style='position:absolute;top:0px;left:" + HOffset() + "px;'>&nbsp;" );
function DoReposition()
{
var o='IDAlignPage';
if(document.getElementById(o)){
var e=document.getElementById(o);
e.style.left=HOffset()+'px';
}else if(ie4up){
var e=eval('document.all.'+o);
e.style.left=HOffset()+'px';
}else if (ns4up){
var e=eval('document.'+o);
e.left=HOffset();}
}

window.onresize=DoReposition;
window.onload=DoReposition;
//-->
</SCRIPT>
 
Last edited:
Top