BenMcDermott
|
CenterHelp... how can I get this centered with everything else?
http://www.bens-ts-server.diagemshosting.net/ts2.php
| Code: | <Br><center><script type="text/javascript"><!--
google_ad_client = "pub-7300351087121986";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><br><center><a href="http://www.bens-ts-server.diagemshosting.net/ts2.php"><img src="http://www.bens-ts-server.diagemshosting.net/banner.jpg" alt="Ben's TS Server" title="Ben's TS Server" border="0"></a></center><?php
/*
Copyright (C) 2004 Niklas Håkansson <niklas.hk@telia.com>
PHPTS2 ver 1.5 is a free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public.
Please leave the copyright image as it is if you using this scripts
*/
include "ts2status.php";
require_once "config.php";
$fp = TSConn($ip,$tPort);
if($fp) {?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Ben's TS Server</title>
<?if($doRefresh) {?>
<META HTTP-EQUIV="refresh" CONTENT="<?=$reInterval?>; url=ts2.php">
<?}
if($tree) {?>
<script language="javascript">
var selectColor = "<?=$selectColor?>";
var unselectColor = "<?=$bgcolor?>";
</script>
<script src="js/vMenu.js" type="text/javascript"></script>
<?}?>
<link rel="STYLESHEET" type="text/css" href="css/stylesheet.css">
</head>
<body bgcolor="#C0C0C0" topmargin="0" bottommargin="0" marginheight="0" marginwidth="0" leftmargin="0" rightmargin="0">
<table cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr>
<td width="17"><spacer type="block" width="17" height="1"></td>
<!-- MAIN -->
<td width="610" valign="top">
<img src="img/pix.gif" width="1" height="10"><br>
<table cellpadding="0" cellspacing="0" width="100%" align="center">
<tr>
<td class="bgFrame" width="1"><img src="img/pix.gif" width="1" height="1"></td>
<td width="100%" height="25" background="img/mainnewsBar.gif" class="headerBread"> :: TeamSpeak 2</td>
<td class="bgFrame" width="1"><img src="img/pix.gif" width="1" height="1"></td>
</tr>
<?if($basic) {?>
<!-- BASIC -->
<tr><td colspan="3" height="1" class="bgFrame"><spacer type="block" width="1" height="1"></td></tr>
<tr>
<td class="bgFrame"></td>
<td class="bgFrameGrey" height="18"><div class="smallheaderBread"> :: Basic Information</div></td>
<td class="bgFrame"></td>
</tr>
<tr><td colspan="3" height="1" class="bgFrame"><spacer type="block" width="1" height="1"></td></tr>
<tr>
<td class="bgFrame" width="1"><img src="img/pix.gif" width="1" height="1"></td>
<td height="26" class="bgFrameGrey" valign="top">
<img src="img/pix.gif" width="1" height="5"><br>
<table cellpadding="2" cellspacing="1" width="95%" align="center">
<tr><td height="5"><spacer type="block" width="1" height="5"></td></tr>
<tr bgcolor="<?=$headerColor?>"><td colspan="2"><img src="ts_icons/gts.gif" width="16" height="15" alt="" border="0"></td></tr>
<?
}
getTSInfo($ip,$port,$tPort,$basic,$bgcolor);
if($basic) {
?>
<tr><td height="10"><spacer type="block" width="1" height="10"></td></tr>
</table>
</td>
<td class="bgFrame" width="1"><img src="img/pix.gif" width="1" height="1"></td>
</tr>
<tr><td colspan="3" height="1" class="bgFrame"><spacer type="block" width="1" height="1"></td></tr>
<tr><td height="15"><spacer type="block" width="1" height="15"></td></tr>
<!-- BASIC -->
<?}
if($info) {?>
<!-- USER INFO -->
<tr><td colspan="3" height="1" class="bgFrame"><spacer type="block" width="1" height="1"></td></tr>
<tr>
<td class="bgFrame"></td>
<td class="bgFrameGrey" height="18"><div class="smallheaderBread"> :: User Information</div></td>
<td class="bgFrame"></td>
</tr>
<tr><td colspan="3" height="1" class="bgFrame"><spacer type="block" width="1" height="1"></td></tr>
<tr>
<td class="bgFrame" width="1"><img src="img/pix.gif" width="1" height="1"></td>
<td height="26" class="bgFrameGrey" valign="top">
<img src="img/pix.gif" width="1" height="5"><br>
<table cellpadding="2" cellspacing="1" width="95%" align="center">
<tr><td height="5"><spacer type="block" width="1" height="5"></td></tr>
<?
getTSUsers($ip,$port,$tPort,$bgcolor,$headerColor)
?>
<tr><td height="10"><spacer type="block" width="1" height="10"></td></tr>
</table>
</td>
<td class="bgFrame" width="1"><img src="img/pix.gif" width="1" height="1"></td>
</tr>
<tr><td colspan="3" height="1" class="bgFrame"><spacer type="block" width="1" height="1"></td></tr>
<tr><td height="15"><spacer type="block" width="1" height="15"></td></tr>
<!-- USER INFO -->
<?}
if($tree) {?>
<!-- CHANNEL INFO -->
<tr><td colspan="3" height="1" class="bgFrame"><spacer type="block" width="1" height="1"></td></tr>
<tr>
<td class="bgFrame"></td>
<td class="bgFrameGrey" height="18"><div class="smallheaderBread"> :: Channel & User Information</div></td>
<td class="bgFrame"></td>
</tr>
<tr><td colspan="3" height="1" class="bgFrame"><spacer type="block" width="1" height="1"></td></tr>
<tr>
<td class="bgFrame" width="1"><img src="img/pix.gif" width="1" height="1"></td>
<td height="26" class="bgFrameGrey" valign="top">
<img src="img/pix.gif" width="1" height="5"><br>
<table cellpadding="2" cellspacing="0" width="95%" align="center">
<tr><td height="5"><spacer type="block" width="1" height="5"></td></tr>
<tr bgcolor="<?=$bgcolor?>">
<td width="16"><img src="ts_icons/ts.gif" width="16" height="15" alt="" border="0"></td>
<td class="bread"><a href="ccInfo.php?cID=0&type=0" onmouseover="javascript:window.status='Default'; return true;" onmouseout="window.status=''; return true;" target="info" class="wrapCell" onClick="vMenu(this,1,1)" onblur="vMenu(this,0,1)"> <?=$name?> </a></td>
<td width="2" background="img/bar.gif"><spacer type="block" width="2" height="1"></td>
<td width="50%"></td>
</tr>
<tr bgcolor="<?=$bgcolor?>">
<td></td>
<td valign="top">
<table cellpadding="1" cellspacing="0">
<?
getTSChannelInfo($ip,$port,$tPort);
?>
</table>
</td>
<td width="2" background="img/bar.gif"><spacer type="block" width="2" height="1"></td>
<!-- TS INFO -->
<td valign="top">
<iframe src="ccInfo.php?cID=0&type=0" height="<?=$iframeHeight?>" width="300" frameborder="0" name="info"></iframe>
</td>
<!-- TS INFO -->
</tr>
<tr><td height="10"><spacer type="block" width="1" height="10"></td></tr>
</table>
</td>
<td class="bgFrame" width="1"><img src="img/pix.gif" width="1" height="1"></td>
</tr>
<tr><td colspan="3" height="1" class="bgFrame"><spacer type="block" width="1" height="1"></td></tr>
<tr>
</tr>
<tr><td height="15"><spacer type="block" width="1" height="15"></td></tr>
<!-- CHANNEL INFO -->
<?}?>
</table>
<img src="img/pix.gif" width="1" height="5"><br>
</td>
<!-- /MAIN -->
<td width="5"><spacer type="block" width="5" height="1"></td>
</tr>
</table>
</body>
</html>
<?}?>
<br><center><a href="http://www.DiagemsHosting.net/"><img src="http://www.bens-ts-server.diagemshosting.net/host.gif" alt="Diagems Hosting" title="Diagems Hosting" border="0"></a></center><br> |
|
admin (no pm's please)
|
eh which bit?
|
BenMcDermott
|
well that's the whole page... all of it is the script apart from the google ads.. diagemshosting image.. and bens ts server image...
if you have been to the link you will see what part of it i want centered
|
admin (no pm's please)
|
I have been to the link and it all looks centered!
|
BenMcDermott
|
...... The WHOLE main purple boxes.. need to be centered ... make the screen full on your browser
|
Symon
|
No need to shout ben you are asking for help to a non myfreeforum forum so have manners and patience
|
admin (no pm's please)
|
In Firefox it is all centered in IE it is not. I'd validate the html with an online validator.
|
BenMcDermott
|
|
St0rm[TitE]
|
move over to using firefox @ ben
|
BenMcDermott
|
| St0rm[TitE] wrote: | | move over to using firefox @ ben |
I did, but just don't like the bookmakrs thingy.. wanted to move all my IE favs to firefox but i coulnd't find the directory for where to put the favs... so i got rid of it lol.. i give up too easily
|
|
|