2 i 1 !!! Table prob og billed.. help me plz
HejJeg har desværre kun 10 pointz..
men jeg har brug for help..
min code:
<? include("db.php"); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Allan Simonsen</title>
<link rel="stylesheet" href="allan.css">
<meta name="generator" content="TSW WebCoder">
</head>
<body bgcolor="#ffffff" background="gfx/bg.jpg" text="#ffffff" link="#ffffff" vlink="#ffffff" alink="#ffffff">
<div id="Layer1" style="HEIGHT: 381px; LEFT: 0px; POSITION: absolute; TOP: 0px; WIDTH: 127px; Z-INDEX: 1">
<IMG src="gfx/allan.jpg">
</div>
<div id="Layer2" style="HEIGHT: 381px; LEFT: 379px; POSITION: absolute; TOP: 149px; WIDTH: 127px; Z-INDEX: 1">
<IMG src="gfx/ship.jpg">
</div>
<div id="Layer3" style="HEIGHT: 381px; LEFT: 379px; POSITION: absolute; TOP: 292px; WIDTH: 127px; Z-INDEX: 1">
<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000
codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0
height=150 id=menu2 width=150><PARAM NAME="_cx" VALUE="3969"><PARAM NAME="_cy" VALUE="3969"><PARAM NAME="FlashVars" VALUE="3969"><PARAM NAME="Movie" VALUE="menu2.swf"><PARAM NAME="Src" VALUE="menu2.swf"><PARAM NAME="WMode" VALUE="Transparent"><PARAM NAME="Play" VALUE="0"><PARAM NAME="Loop" VALUE="-1"><PARAM NAME="Quality" VALUE="High"><PARAM NAME="SAlign" VALUE=""><PARAM NAME="Menu" VALUE="-1"><PARAM NAME="Base" VALUE=""><PARAM NAME="AllowScriptAccess" VALUE="always"><PARAM NAME="Scale" VALUE="ShowAll"><PARAM NAME="DeviceFont" VALUE="0"><PARAM NAME="EmbedMovie" VALUE="0"><PARAM NAME="BGColor" VALUE="CCCCCC"><PARAM NAME="SWRemote" VALUE=""> <EMBED src="menu2.swf" quality=best wmode=transparent bgcolor=#CCCCCC WIDTH="150" HEIGHT="150" NAME="menu2" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>
</div>
<div id="Layer6" style="HEIGHT: 381px; LEFT: 529px; POSITION: absolute; TOP: 367px; WIDTH: 127px; Z-INDEX: 1">
<IMG src="gfx/shadow-right-to-menu.jpg">
</div>
<div id="Layer4" style="HEIGHT: 381px; LEFT: 529px; POSITION: absolute; TOP: 293px; WIDTH: 127px; Z-INDEX: 1">
<IMG src="gfx/pic-right.jpg">
</div>
<div id="Layer5" style="HEIGHT: 359px; LEFT: 72px; POSITION: absolute; TOP: 438px; WIDTH: 1px; Z-INDEX: 1">
<table border="0" cellpadding="0" cellspacing="0" width="464">
<tr>
<td background="gfx/contentfill.jpg">
<font style="LEFT: 10px; TOP: 20px; WIDTH: 445px; Z-INDEX: 100">
<h5><center>News</center></h5><br>
<table width="444"><?
if (!$id) {
$count = 1;
$res = mysql_query("SELECT * FROM news ORDER BY id DESC");
while ($row = mysql_fetch_array($res)) { ?>
<TABLE bgColor=#252b36 cellPadding=1 cellSpacing=1 width=444>
<TR>
<td width=444 colspan=2 background="gfx/tablebg.jpg"><p align=center><font color=#252b36 size=1 face=Verdana><b><? echo $row['head']; ?></b></font></p></td>
</tr>
<tr>
<td width=444 colspan=2 background="gfx/tablebg.jpg"><font color=#252b36 size=1 face=Verdana><? echo ereg_replace("\n", "<br />\n", $row['body']); ?></font></td>
</tr>
<tr>
<td width=444 colspan=2 background="gfx/tablebg.jpg"><p align=right><font color=#252b36 size=1 face=Verdana>d.
<? echo $row['date']; ?></font></p></td>
</tr>
</table><?
}
}
else { ?><?
$res = mysql_query("SELECT * FROM news WHERE id = '$id'");
while ($row = mysql_fetch_array($res)) { ?>
<table bgcolor=#252b36 cellspacing=1 cellpadding=1 width="444">
<tr>
<td width=444 colspan=2 background="gfx/tablebg.jpg"><p align=center><font color=#252b36 size=1 face=Verdana><b><? echo $row['head']; ?></b></font></p></td>
</tr>
<tr>
<td width=444 colspan=2 background="gfx/tablebg.jpg"><font color=#252b36 size=1 face=Verdana><? echo ereg_replace("\n", "<br />\n", $row['body']); ?></font></td>
</tr>
<tr>
<td width=444 colspan=2 background="gfx/tablebg.jpg"><p align=right><font color=#252b36 size=1 face=Verdana>d.
<? echo $row['date']; ?></font></p></td>
</tr>
</table><br><?php
}
}
?></FONT></TD></TR></TABLE>
</div>
</body>
</html>
<--- http://insane-danes.amok.dk kan os ses der..
Som i nok godt kan se er min table for meget i venstre side.. Så det går hen over billedet.. Kan den ikke centreres eller noget? :P
Og min baggrund.. i det samme.. Kan jeg ikke få den til og gå ned til slutningen af siden.. ? :P
plz help mee.. Når jeg får flere pointz gir jeg ialt 100 exstra til den der hjælper mig