Guess what its Tables!

liunx

Guest
Let's start off by saying that I am a complete novice at html.<br />
<br />
I have run into a problem constructing tables on my Home page. Basically I want three separate tables, a banner table, navigation table and content table. The first two are no problem but I can't position the content table to the right of the navigation table. Is there an easy way to do this or do you have to nest one table within the other?<br />
<br />
I am working on a resolution of 800x 600 and here is a copy of the html code for the first two tables:<br />
<br />
<!-- Start of Banner Table--><br />
<br />
<table border="3" CELLSPACING=3 CELLPADDING="3"><br />
<tr><br />
<td align="center"><IMG SRC=http://www.htmlforums.com/archive/index.php/"../My Gifs/swordshardwareglow2.gif"<br />
WIDTH="459" HEIGHT="60" ALIGN="Middle" ALT="Swords Hardware Header"><br />
</td><br />
<TD align="left"><img src =http://www.htmlforums.com/archive/index.php/"../My Gifs/Arro Logo.gif" alt= "Arro Logo"<br />
width= "127" height="60"></TD><br />
<TD align="left"><img src =http://www.htmlforums.com/archive/index.php/"../My Gifs/IHA.gif" alt= "Member of IHA"<br />
width= "127" height="60"></TD><br />
</tr><br />
</table><br />
<br />
<!--End of Banner Table--><br />
<br />
<br />
<!--Beginnning of Navigation Table--><br />
<br />
<table border="3" CELLSPACING="3" CELLPADDING="3"><br />
<tr><br />
<td ><a href=http://www.htmlforums.com/archive/index.php/"Aboutus.html"><img<br />
src=http://www.htmlforums.com/archive/index.php/"file:///C:/My%20Documents/My%20Gifs/about.gif"<br />
alt="About Us" width="140" height="30"></a></td><br />
</tr><br />
<tr><br />
<td><a href=http://www.htmlforums.com/archive/index.php/"index.html"><img<br />
src=http://www.htmlforums.com/archive/index.php/"file:///C:/My%20Documents/My%20Gifs/home.gif"<br />
alt="Home" width="140" height="30"></a></td><br />
</tr><br />
<tr><br />
<td><a href=http://www.htmlforums.com/archive/index.php/"Products.html"><img<br />
src=http://www.htmlforums.com/archive/index.php/"file:///C:/My%20Documents/My%20Gifs/products.gif"<br />
alt="Products" width="140" height="30"></a></td><br />
</tr><br />
<tr><br />
<td><a href=http://www.htmlforums.com/archive/index.php/"mailto:[email protected]"><img<br />
src=http://www.htmlforums.com/archive/index.php/"file:///C:/My%20Documents/My%20Gifs/contactus.gif"<br />
alt="Contact Us" width="140" height="30"></a></td><br />
</tr><br />
<tr><br />
<td><a href=http://www.htmlforums.com/archive/index.php/"Tipsandlinks.html"><img<br />
src=http://www.htmlforums.com/archive/index.php/"file:///C:/My%20Documents/My%20Gifs/tipsnlinks.gif"<br />
alt="Tips'N Links" width="140" height="30"></a></td><br />
</tr><br />
<tr><br />
<td><a href=http://www.htmlforums.com/archive/index.php/"Jobopp.html"><img<br />
src=http://www.htmlforums.com/archive/index.php/"file:///C:/My%20Documents/My%20Gifs/jobvacancies.gif"<br />
alt="Job Vacancies" width="140" height="30"></a></td><br />
</tr><br />
</table><br />
<br />
<!--End of Navigation Table--><br />
<br />
<br />
<br />
Any pointers would be cool. Thanks<!--content-->I'm not sure why you want to use so many tables. you should ba able to do most things with one table. If you need to use 3 tables, I suggest nesting them in a master table for ease of placement.<!--content-->It's true you don't need three seperate tables to accomplish this layout but since you are a beginner I suggest you complete the layout using three tables to learn the process of aligning tables.<br />
<br />
Try the most obvious option first, use the align= attribute inside the table tag. <br />
<br />
So for the navigation table it would be:<br />
<br />
<!--Beginnning of Navigation Table--> <br />
<br />
<table border="3" CELLSPACING="3" CELLPADDING="3" align=left><br />
<br />
that might be all it requires, but in case it does not render correctly try also putting align=right in the table tag of the content table.<br />
<br />
The alignment attributes of tables is:<br />
<br />
top, bottom, right, left<br />
<br />
Tables stack ontop of each other in the absense of any alingment attributes. <br />
<br />
Your local URLs (file:///C:/My%20Documents/My%20Gifs/about.gif) most likely will not work on the internet.<br />
<br />
Regards,<br />
Kevin (not unregistered but can't figure out how to get my cookie back)<!--content-->Thanks Guys for your pointers. My table are now going where I wanted them on the page and I am a happy camper!<br />
<br />
Marie<!--content-->
 
Back
Top