Results 1 to 14 of 14
Thread: On list display as 2?
Feb 18, 2010, 06:23 #1
- Join Date
- Feb 2010
- 0 Post(s)
- 0 Thread(s)
On list display as 2?
Hi, Just wondered if this is possible in CSS?
We currently use tables to lay this out but would like to get rid of them.
We have a list of 10 country names that we display 5 in one table cell and the next 5 in the next cell so that they display like 2 lists of 5 countries next to each other.
Ideally I would like to markup the list of 10 countries as a single list and have css take care of splitting it into 2 instead, if it can do this.
I'm thinking there might be some way to limit the size of the container element perhaps and have the display move to the left and keep going so it looks like 2 lists of 5 elements each but semantically is just one list of 10. Does that sound like it should be possible?
Thanks in advance