[UPHPU] Adjusting Table
Velda Christensen
velda at novapages.com
Thu Jul 26 18:37:48 MDT 2007
justin wrote:
> On 7/26/07, Velda Christensen <velda at novapages.com> wrote:
>
>> Justin Giboney wrote:
>>
>>> I meant that the number of columns is adjusted to what the width is.
>>> Also wrapping around floating objects.
>>>
>>> Justin Giboney
>>>
>> Ah, don't do that with a table then. Make a wrapper div, and float the
>> divs that go in it. So if you are trying to display columns of products:
>>
>> #productswrap { width: 80%; }
>> #productswrap div { width: 200px; height: 200px; float: left; padding:
>> 2em; }
>>
Here's an example. I didn't apply any IE specific styles for the box
model though as it's a quick sketchup, so this only works in FF.
http://novapages.com/stuff/adjustingcolumns.html
More information about the UPHPU
mailing list