On 08/02/07, Seona Bellamy <[EMAIL PROTECTED]> wrote: > > Hi guys, > > Creating a sitemap for a client.
However, they also want ti split over two columns so that it doesn't end up > just scrolling forever. Fair enough. However, since this is to plug into > their CMS, I need to allow for a variable number of sections and > sub-pages. > > I've had a search around, but so far all the examples I'm finding require > knowing how many items are in each column or the height of each column. I > have no way of knowing either. > > Is there a way of doing this that will allow the columns to stay more or > less equal regrdless of how many items there are? Hi, There is a very nice method purely with CSS, but as usual it doesn't work in IE (or Opera). It works in Mozilla and will do in the next release of Safari. This is how to make it into two columns with mozilla with a 2 em gap in between: -moz-column-count:2; -moz-column-gap:2em; For Safari it's without the mozilla specific prefix (without the -moz-). Other than that, I think it'll be very difficult to work out a way of doing it like you want unless you resort to some javascript. This ALA article is a good read and contains a link to a script you can use: http://alistapart.com/articles/css3multicolumn Rafael ______________________________________________________________________ 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/
