On Apr 22, 3:31 pm, zayatzz <alan.kesselm...@gmail.com> wrote:
> This css should do it:
>
> ul {list-style-image:none;list-style-position:outside;list-style-
> type:none; float:left}
> ul li {width:50%;display:block;float:left}
>
> What this does, is that it gives every list element 50% of available
> width (if you want 3 columns then put it to 30%), display block is
> actually not necessary, i just added it to be sure it works in IE too
> - i tested it in firefox.
>
> If you want to see all the markup & css go here 
> :http://www.frukt.ee/public/alan/test/test.html
>
> If you want the elements to be sorted in different way - first 10 in
> one column and next 10 in another, then css cant do and you have to
> follow advice given by Tom.
>

Wow, great! I don't even need to write my custom widget! Thank you
very much!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to