is nth child divisible?
  • I have a strange CSS question for anyone out there.
    Can the nth child be divisible, lets say by 50%.

    For example:

    If I have a dynamic list (light navigation that changes by 'add a page') and I want the list to always appear in 2 columns side by side - can I tell nth child to look for the half way point of the list and float the first half left leaving the second part of the list to float next to it (appearing like 2 separate lists) or even float the second half of the list to the right.

    *not sure how CSS would round the number up or down if the list is an odd number.

Copyright © 2014 LightCMS® Content Management System LightCMS is a product of NetSuite