Click to See Complete Forum and Search --> : Variable size tables?
stmasi
05-23-2003, 08:40 AM
I'm transferring a page from a framed format to a tabled format, but I'm running into a problem.
How can you dynamically size a table so they work like frames? You know...with frames you can say (30,*,30), but how in cyberspace can you do that with tables?!
Thanx muchly!!!
<table width="100%">
<tr>
<td width="30">&nbsp;</td>
<td>&nbsp;</td>
<td width="30">&nbsp;</td>
</tr>
</table>
Though many would say that tables are not for layout...
stmasi
05-23-2003, 08:53 AM
What would be the alternative to using tables for layout...keeping in mind not wanting to use frames either?
Thanx.
I would also like to make a comment on assistance through this forum.
I've participated in many different forums on many different channels on many different sites, but I must say that this is the site in which I've received the most "educated" help and in the fastest amount of time. I just want to give everyone a big pat on the back for being both knowledgeable and quick to help others.
Thanx again.
Charles
05-23-2003, 08:53 AM
Originally posted by stmasi
I'm transferring a page from a framed format to a tabled format... From the HTML 4.01 Specification
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.
http://www.w3.org/TR/html4/struct/tables.html#h-11.1
Originally posted by stmasi
What would be the alternative to using tables for layout...That is what CSS is for. http://www.w3.org/Style/CSS/