On 7/11/05, jeremy <[EMAIL PROTECTED]> wrote: > I'll give that a shot... I wasnt aware that PHP would be the best > approach and thought maybe there was a CSS solution.
I did a similar implementation for my work's site (in ASP, but same difference). I ended up breaking the lists up like this ALA page did, because it worked pretty easily. http://www.alistapart.com/articles/layeredfudge/ The loop I did was a little bit different, in that I had one for loop to write each li, then an if statement in that loop that checked for the middle li, closed the left ul, and opened the right ul. Before the for loop, I opened the left ul and closed the right one after the for loop. There is a purely CSS way to break your list up using an li width of 50% of the ul or ol, but it's basically writing from left to right, top to bottom, which confuses most people. If order matters, and I assume that it does, stick with either a for loop or you can find a few variations on the purely CSS method in the comments for the above ALA article: http://www.alistapart.com/discuss/layeredfudge/ -Wayne ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
