I have array of object with rule
{width:10%, float:left,display:block;height:20px}
If I have 10 objects, it will be displayed in one line,one by one, so its fine. My problem is, if i print less than 4 objects ,I want to display them on center of page, without floating left .... In another case , if I have e.g 33 objects, I want to display 3 full rows with left floating objects, 10 in one row ... and last row with 3 objects must be aligned on center page. Any suggestion how to solve this with css?
Thanks