Page 1 of 1

Help with layout!

Posted: Tue Sep 30, 2003 10:31 pm
by AnsonM
Look at my site here: http://8th-dimension.net

This is the code for index.php

Code: Select all

<?php
<html>
<head>
	<title>:: Welcome to 8th Dimension! ::  A Free Online RPG!</title>
<link rel="stylesheet" href="styles.css" type="text/css">
</head>

<? include "config.php"; ?>

<table width="100%">
	<tr>
		<td align="center"  class="header">
			<? include "includes/header.php"; ?>
		</td>
	</tr>
</table>

<table width="886" class="body_content">
	<tr>
		<td class="body_menu" valign="top" width=300>
			<? include "includes/menu.php"; ?><br>
			<? include "includes/ads.php"; ?><br>
		</td>

		<td class="body_main" valign="top" width="877">
			<? include "includes/proc.php";?>
		</td>

		<td class="body_menu" valign="top" width=300>
			<? include "includes/statistics.php"; ?>
		</td>

	</tr>
</table>

<table width="100%">
	<tr>
		<td align="center">
			<? include "includes/footer.php"; ?>
		</td>
	</tr>
</table>

</html>
?>
I need to move the statistics (top players, newest members, latest news on the left) to the left hand side...

Ive tried.. but it keeps mucking up the middle bit.. how do i move it over to the other side?

Posted: Tue Sep 30, 2003 11:04 pm
by phice
Looks like you've completed your task.

Posted: Tue Sep 30, 2003 11:07 pm
by AnsonM
i have? :?

Posted: Tue Sep 30, 2003 11:09 pm
by AnsonM
here look at this:

http://8thd.custom-hosting.net/anson/index2.php

its uneven... i think i got the numbers wrong?

Posted: Wed Oct 01, 2003 12:03 am
by phice
Use % for the main content area (so it can expand/contrast), and for the #1, main table. Only declare exact widths for the menus on both sides.

Posted: Wed Oct 01, 2003 12:38 am
by AnsonM
great! it worked! thanks :)