The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

table resizing

hi guys,
i'm trying to resize a table within another table, the outer table is styled by a stylesheet. the talbe is within a form, and it's only when i add a option button within a <td> tag that this problem arises:

To really see what the problem could be, I think we would need to see more of the code. It could be something with one of the <table> commands, or one of the other <td>'s, etc. When you use %, things vary depending on the size of the browser window and every other bit of data you have there. If you post a link to the problem page, we can probably help you out a little more.

It is porable to do with the width=10% bit. When the table is on a page of it's own, then the width is 10% of that page. This is proably plenty room for the contents to fit inside. But when you nest the table inside another, the width become 10% or the cell of the outer table. This will be much smaller. Now, the browser will treat that 10% as the minimum size. So if the content (your option button) needs more space, then the table will streach to accomodate the button.