0

how to set 2 div side by side??

set div in horizontal or vertical attachments

1st Jun 2016, 8:03 PM
Paresh Patanwadiya
Paresh Patanwadiya - avatar
1 Answer
+ 1
You can do that by floating the elements. For example: <div width="100px" style="float:left;border:1px solid red"> Some content </div> <div width="100px" style="float:left;border:1px solid blue"> Some content </div>
2nd Jun 2016, 8:11 AM
James Flanders