What options exist to get text/ list items to appear in columns?
Posted
by alex
on Stack Overflow
See other posts from Stack Overflow
or by alex
Published on 2009-07-22T03:28:16Z
Indexed on
2010/04/12
1:03 UTC
Read the original article
Hit count: 299
I have a bunch of HTML markup coming from an external source, and it is mainly h3
elements and ul
elements.
I want to have the content flow in 3 columns. I know there is something coming in CSS3, but what options do I have to get this content to flow nicely into the 3 columns at the time being? I'm not that concerned about IE6 (as long as it degrades gracefully). Am I stuck using jQuery to parse the markup and chop it up into 3 divs which float?
Thank you
Update
As per request, here is some of the HTML I am working with
<h3>Tourism Industry</h3>
<ul>
<li><a href="">Something</a></li>
<li><a href="">Something</a></li>
<li><a href="">Something</a></li>
<li><a href="">Something</a></li>
</ul>
<h3>Small Business</h3>
<ul>
<li><a href="">Something</a></li>
<li><a href="">Something</a></li>
<li><a href="">Something</a></li>
<li><a href="">Something</a></li>
<li><a href="">Something</a></li>
</ul>
And a whole lot more following the same format.
© Stack Overflow or respective owner