I have div tags in below format:
<div>first</div>
<div>1</div>
<div>2</div>
<div>3</div>
<div>4</div>
<div>5</div>
<div>6</div>
<div>last</div>
I want it in 2X3(col X row) table. Is it possible? Only using CSS without adding any other HTML tag.
If Yes, then what would be the CSS for that?
Output format:
first
1 4
2 5
3 6
Last
I want data in above format.
Sorry I did not mention the format in above question.
You can use this css: