I have DIVs
that are positioned next to each other, but only the fourth DIV
is in the first row
, while the others are shifted to the next row
.
I want each first div
in a row
to not take up space from the left side
, but this is not happening. Here is my code:
http://jsfiddle.net/25pwG/
I know I can achieve this by manually assigning a class
to the new row DIV
, but I prefer a solution with minimal CSS and without altering my markup
.
NOTE: I need it to work on IE8 as well.
Thanks in advance :)
UPDATED:
http://jsfiddle.net/25pwG/8/
Firstly, the .parent
div has a common class
used in other sections as well. Secondly, according to the design, the parent DIVs
should reach the last div
of the row
, leaving no space on the right side.