Table inside a table?

Hey I want to do something like <!-- w --><a class="postlink" href="http://www.myg0t.com">www.myg0t.com</a><!-- w --> i like there menu with that table or wut ever it is i was wondering how can i do that.? thx<!--content-->Well, that site does a little more than table-in-table but the menu you are talking about is pretty simple.<br />
<br />
<table><br />
<tr><br />
<td><br />
<table><br />
<tr><br />
<td><br />
</td><br />
</tr><br />
</table><br />
</td><br />
</tr><br />
</table><!--content-->it's called table nesting , and though I can't speak for the site you mention specifically, it's something I do a lot because I think it gives a really good effect. I use it often for setting the width of a page (ie i do a table with width set to something like 400 and then type away for my content. I'm fairly sure then that when someone tries to print out my page, it won't have to be printed landscape because i know that the 400 width is not as wide as a portrait page). I also use it for effects similar to this page where you've got tables with nice outlines, and I've use it on this page (<!-- m --><a class="postlink" href="http://www.bedgeburyschool.co.uk">http://www.bedgeburyschool.co.uk</a><!-- m -->) to allow me to put nice curved boxes around tables to make everything look nice and rounded.<br />
<br />
It's a powerful tool, and one that you need to take a little bit of time with to make sure you dont get yourself too confused with all the <table> and <td>'s flying around, but it really is worth the trouble.<!--content-->Nesting tables is quite common. It is also quite wrong. Tables should not be used purely as a means to layout document content as this may present problems when rendering to non-visual media. Additionally, when used with graphics, these tables may force users to scroll horizontally to view a table designed on a system with a larger display. To minimize these problems, authors should use style sheets to control layout rather than tables.(<!-- m --><a class="postlink" href="http://www.w3.org/TR/html4/struct/tables.html#h-11.1">http://www.w3.org/TR/html4/struct/tables.html#h-11.1</a><!-- m -->)<br />
<br />
Aside from the fact that you can make the page un-usable for persons using Braille and audio browsers, it's a great deal easier and works a great deal better.<!--content-->How do you get a table to have a different coloured border that's not thick, as on this page, using style sheets?<br />
<br />
Also, as my page is one for sharing my photographs, there's no great concern for blind viewers as they wouldnt be interested in the page content anyway, unfortunately.<!--content-->There's nothing wrong with using the table element for a table. And to get a solid, 1pixel wide, black border around one use <table summary="A Table of My Pictures" style="border:solid 1px #000000">.<!--content-->The use of nested tables is still used to create layout and the to make the menu you want is quite easy<br />
<br />
Nest the table, set the width and set the cellpadding and spacing. <br />
As for the color there are many methods to accomplish that<br />
bgcolor on the table, row or cell or a combination depending on u<!--content-->
 
Back
Top