On April 17, 2007, Robert Lane wrote:

> Gee looks like a table, walks like a table, quacks like a duck! :-)
> Actually I had a similar question but not for menus. I have a document
> that client wants added to web page. They laid it out in a 2 column
> bulleted list format. Of course it has an odd number of bullets, and
> the text per item is all different. So what would be the most stable
> way to handle this. My initial thought was just split the UL into two
> lists and then put in a two column table to hold them. But would it
> work as a div around each of the two ul's and then float them? If I
> did that, do I float one left and one right and set the width's to
> <= 50%  or do I float them both left?

> If the ul div's are contained within a wrapper div, do I position them
relative?   Or is there a better way that is supported by all the usual
browsers?

> Thanks!

Hi Robert

Much easier as separate list and only one div is required that wraps both list. 
I have centered the wrap div. The values given to center it would be less if 
the overall width is not the full window width. If the values are removed from 
the wrap div altogether, then the div floats to the left or right completely 
depending of how the the enclosed ul elements are floated.

http://contueor.com/x/list2blocks.htm

Kind Regards, Alan

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to