min td i mitten maser de ander ud. det må den ikke
Hej jeg vil lave en side om auto justere sig efter hvordan din skærm sættings er eks 800/600 osv.Men når jeg sætter min <td>i mitten af de andre <td>'er til 100% forsvinder de 2 yderste og de skal blive. her er min kode.
<?
session_start();
include("func.php");
DB::Conn("open");
if(isset($_GET['page'])){$_GET['page'] = $_GET['page'];}else{$_GET['page'] = "news";}
?>
<html>
<head>
<title>Genrals Pirat's</title>
<style type="text/css">
a:active, a:focus, a:link, a:visited {color:#FFFFFF;text-decoration: none; }
a:hover {color:#FFFFFF;text-decoration: underline;}
</style>
</head>
<body bgcolor="#2E2D60">
<table width="100%" height="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="800" height="100%" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="top">
<table width="800" height="150" cellpadding="0" cellspacing="0">
<tr>
<td width="286" height="150" background="../../call_funktions/images/pirat/logo1.JPG">
</td>
<td width="" height="150" background="../../call_funktions/images/pirat/logo3.JPG">
</td>
<td width="219" height="150" background="../../call_funktions/images/pirat/logo2.JPG">
</td>
</tr>
</table>
<table width="800" height="25" bgcolor="#000000" cellpadding="0" cellspacing="0">
<tr>
<td align="right" style="color:#FFFFFF">
<a href="?page=news">Home</a>
(
<? if ($_SESSION['logged_in'] != "yes"){?>
<a href="">Create Account</a>
|
<a href="">Forgotten Password</a>
|
<? } else {?>
<a href="">Profile</a>
|
<a href="">some thing else</a>
|
<? }?>
<? include("../../call_funktions/javascript/makehome.php"); ?>
|
<? include("../../call_funktions/javascript/addbookmark.php"); ?>
</td>
</tr>
</table>
<table width="800" cellpadding="0" cellspacing="0">
<tr>
<td width="150" bgcolor="#000000">
<table width="150" cellpadding="0" cellspacing="0">
<tr>
<td width="150" style="color:#FFFFFF" >
This is Menu
</td>
</tr>
</table>
</td>
<td>
<table width="650" cellpadding="0" cellspacing="0">
<tr>
<td width="650" style=" border-right:thin black solid;">
This is Contents - >>>>A test in HTML<<<
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="800" height="25" bgcolor="#000000" cellpadding="0" cellspacing="0">
<tr>
<td>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
