justin wrote:
On 7/26/07, Velda Christensen <[EMAIL PROTECTED]> 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

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to