We want design like #2 but we are facing #1 design issue. when we are apply float left in parent div (gray border div) then its work fine. if any one have solution without applying float in parent div or without adding clear both in div then please let me know.
For more information please check attached image.(Float.jpg)