Question:
Getting 2 tables side by side on a web page?
anonymous
2008-06-03 23:53:41 UTC
I'm trying to build a webpage and want to have 2 tables side by side (like the Yahoo front page, left column for links and the box to the right for content).

Basically I tried adding a table (3 columns) which worked layout wise but I couldn't (using Nvu) get each column to have different borders, so I think seperate tables are needed.

Is there a way to do it via Nvu (or any other free program) or can someone give me some HTML to make 2 tables (say 1 across by 10 down and 3 across by 3 down) with a gap inbetween them?

#Frustrated#
Five answers:
TooManySpammersHere
2008-06-03 23:58:30 UTC
Without using CSS:









....



width="10" />


...<.td>






Alternative:



http://www.google.com/search?q=two+column+layout
Rob E
2008-06-03 23:59:02 UTC
Just put tables inside your 3 columns. You can just make your table with 3 columns and no border, then in each of those 3 columns make a table with the border you want.
anonymous
2008-06-03 23:59:02 UTC
You actually need 3 tables. One large one to hold the 2 other tables. The large table will hold one table as the left column and the other table as the content pane.



















left hand side





content






you can also achieve this using CSS, which would remove the outer table.



http://layouts.ironmyers.com/
anonymous
2008-06-04 03:47:53 UTC
try the link for 2 and 3 tables.



http://www.htmlcodetutorial.com/help/sutra25736.html



Ashley



Acknowledged Web Solutions



---
vox_of_reason2
2008-06-03 23:58:58 UTC
Place the tables within cells of another table. Like this











.......




....




This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...