Reputation: 159
I have a php script that is generating an unspecified number of divs inside another but by default the divs are being vertically aligned as in one of top of the other though their widths can allow for them to be horizontally aligned. How can i go about this?
Upvotes: 0
Views: 918
Reputation: 21449
float them to left
float:left;
or give them inline display mode.
display:inline;
Upvotes: 2