PDA

View Full Version : Tables



tandoc
January 31st, 2003, 05:39
i've got 2 tables on my page... how do i make 1 a certain size... and the other take up the rest of the space?

kabatak
January 31st, 2003, 06:49
how is your table layed out?

tandoc
January 31st, 2003, 07:44
<html>

<head>
<meta http-equiv="Content-Language" content="en-au">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>\M/ i s c - N e w s - Just News... and some other stuff.</title>
</head>

<body topmargin="0" leftmargin="0" text="#FFFFFF" bgcolor="#404040">

<table border="0" cellpadding="0" cellspacing="0" width="573" height="287">
<tr>
<td width="573" valign="top"><img border="0" src="img/header.gif" width="573" height="287"></td>
</tr>
</table>
<table border="0" cellpadding="5" cellspacing="0" width="573">
<tr>
<td width="394" valign="top" height="0">
<table border="0" cellspacing="3" cellpadding="5" bgcolor="#FFBB00" width="100%">
<tr>
<td width="100%" bgcolor="#FFDD00">
<p align="left"><font face="Verdana" size="1" color="#404040"><b>blah blah
</font></td>
</tr>
</table>
</td>
<td width="146" bgcolor="#F1C001" valign="top">
<font face="Verdana" size="1">+ n e w s<br>
+ a r c h i v e s<br>
+ f i l e s<br>
+ a b o u t<br>
+ l i n k s<br>
+ s w a p&nbsp; l i n k s<br>
+ j o i n&nbsp; u s<br>
+ s t a f f</font></td>
<td width="33" valign="top">&nbsp;</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="339" height="21">
<tr>
<td width="100%" valign="bottom">
<img border="0" src="img/copyright.gif" width="339" height="21"></td>
</tr>
</table>
</body>

</html>

its not the most efficient way of doing things... but it almost works... becuz if i make it all 1 table... everything goes berserk

kabatak
January 31st, 2003, 08:16
umm.. im not really sure about what you wanted, but maybe something like this?
<html>
<head>
<title>\M/ i s c - N e w s - Just News... and some other stuff.</title>
</head>

<body topmargin="0" leftmargin="0" text="#FFFFFF" bgcolor="#404040">

<table border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse"

bordercolor="#111111" width="573" id="AutoNumber1">
<tr>
<td width="100%">
<font size="1" face="Verdana">
<img border="0" src="img/header.gif" width="573" height="287"></font></td>
</tr>
<tr>
<td width="100%" height="100%">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse"

bordercolor="#111111" width="576" id="AutoNumber2">
<tr>
<td width="384" valign="top" height="100%">
<table border="5" cellpadding="3" cellspacing="0" style="border-collapse: collapse"

bordercolor="#FFBB00" width="100%" id="AutoNumber3" height="97%" bgcolor="#FFDD00">
<tr>
<td width="100%" height="97%" valign="top">
<b>
<font size="1" face="Verdana" color="#000000">blah blah</font></b></td>
</tr>
</table>
</td>
<td width="142" bgcolor="#F1C001"><font face="Verdana" size="1">+ n e w s<br>
+ a r c h i v e s<br>
+ f i l e s<br>
+ a b o u t<br>
+ l i n k s<br>
+ s w a p l i n k s<br>
+ j o i n u s<br>
+ s t a f f</font></td>
<td width="46">&nbsp;</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" height="100%">
<img border="0" src="img/copyright.gif" width="339" height="21"></td>
</tr>
</table>
</body>
</html>

Lapras
February 7th, 2003, 21:44
Substitute you width attribute in you tables. Change width="493" to <td width="70%">