Help with layout!

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
AnsonM
Forum Commoner
Posts: 72
Joined: Thu Sep 25, 2003 7:21 am

Help with layout!

Post 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?
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

Looks like you've completed your task.
Image Image
AnsonM
Forum Commoner
Posts: 72
Joined: Thu Sep 25, 2003 7:21 am

Post by AnsonM »

i have? :?
AnsonM
Forum Commoner
Posts: 72
Joined: Thu Sep 25, 2003 7:21 am

Post by AnsonM »

here look at this:

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

its uneven... i think i got the numbers wrong?
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post 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.
Image Image
AnsonM
Forum Commoner
Posts: 72
Joined: Thu Sep 25, 2003 7:21 am

Post by AnsonM »

great! it worked! thanks :)
Post Reply