PHP Developers Network
http://forums.devnetwork.net/

How do I justify these DIVs, but line them up?
http://forums.devnetwork.net/viewtopic.php?f=68&t=140433
Page 1 of 1

Author:  simonmlewis [ Fri Oct 17, 2014 9:37 am ]
Post subject:  How do I justify these DIVs, but line them up?



This works really nicely. But, when there are just 2-3 on the next row, it's terrible.

So I want it to justify when it's a full fow of six, but when it's less, to just line up like a 'float'.

Any nice way of doing that?
I did try doing it with margins, and on the sixth DIV, have no right margin, but even then it can never be perfect.

So I want each row to be justified to left and right, but also... to line up!

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/