[UPHPU] Adjusting Table

Justin Giboney giboney at giboneydesigns.com
Fri Jul 27 08:14:24 MDT 2007


Velda, thank you that works, except that I now need a way to clear  
the floats just inside of the content div for some sub headers.
see http://www.forodeherbales.com/edge/singlemovie.php?movieid=1094

Justin, thank you, but yours doesn't work because I need text below  
the images.

Justin Giboney


On Jul 26, 2007, at 6:37 PM, Velda Christensen wrote:

> 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