css - 2 column unordered list?
css - 2 column unordered list?
- Started
- Last post
- 3 Responses
- grunttt
i'm asking on behalf of a colleague. How would one go about creating a 2 column unordered (aka: bulleted) list using strictly css?
- weestu0
easiest way would probably be to do two separate lists and float:left each of them...
- instantok0
it's a little tricky. several different techniques, each with their pros and cons. check out this article: http://alistapart.com/articles/m…
- Stugoo0
what weestu said.
If you want to be picky about SEO/accessibility have the one with the page content at the top of the code.
Ifthe content is in the right col, then float the divs right, rather than left.
so on the page it would appear on the right side but if you remove the CSS the code appears above the sidenav
just remeber to swap the divs. :)