I have been goggling this for a while to set one of my requirement. This is what my detailed flow of page.
I have below page and want to arrange DIV in this fashion. Each of this DIV will be filled from my DB. If i have only three item in the DB, then the page should show first row with only three divs and so on. How can i do this by using HTML 5 , CSS and PHP?
........... .............. ............... ..............
. . . . . . . .
. Div1 . . Div2 . . Div3 . . Div4 .
. . . . . . . .
. . . . . . . .
. . . . . . . .
...........
. .
. Div5 .
. .
. .
. .