Create three rows using div like table tr

css, html

Solution

All you have to do, is create one div, for which you create three child divs:

<div>
   <div>Content</div>
   <div>Content</div>
   <div>Content</div>
</div>

This should work with default styling, you will get rows of content. If you need any more help with specific styling, just comment.

Problem

I want to create simple three `div` rows (tableless concept). I tried everything in Google but I didn't get a simple format. For example in table it was so easy in this way: ``` <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>&nbsp;</td> </tr> <tr> <td>&nbsp;</td> </tr> <tr> <td>&nbsp;</td> </tr> </table> ``` Sorry if I'm asking a very simple question here.

Original source

Related problems