Click to See Complete Forum and Search --> : table adjust size


khujo56
03-03-2009, 09:39 PM
Hi

Can a tables size be adjusted based on what content your put in the table.
for example, i have a table where i list info but it will vary from day to day. the table has a bg image has a background and i want the background image to adjust it's size based on the content. is it possible.

Thanks

NXInteractif
03-03-2009, 11:38 PM
as for dynamically resizing the table to fit its content, simply use the "height: auto" or "width: auto" style definition on your given table cell. however, as far as i know, its impossible to resize any background image without using some form of hack to emulate such an effect.
do you have a link so that i may see the context of your problem?
this may help me further discover a solution for your problem.

-j.