0

How do I create multiple columns of text without using a <div> now we're rocking in html5?

I've looked all over the Web and it seems that columns still use <div> tags, can I use article or section tags instead? Dumb question possibly people but be kind, I'm new to all this :-)

19th Jan 2017, 7:12 PM
Mel Colton
Mel Colton - avatar
3 Réponses
+ 9
<table>
19th Jan 2017, 7:20 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 2
A three colums class: .x3col { -moz-column-count: 3; -webkit-column-count: 3; -o-column-count: 3; column-count: 3; -moz-column-gap: 20px; -webkit-column-gap: 20px; -o-column-gap: 20px; column-gap: 20px; -moz-column-rule: 1px dotted #cbcefb; -webkit-column-rule: 1px dotted #cbcefb; -o-column-rule: 1px dotted #cbcefb; column-rule: 1px dotted #cbcefb; } See it in action at: https://code.sololearn.com/WbCU8pf68o08/#css
19th Jan 2017, 9:55 PM
visph
visph - avatar
0
thanks folks
20th Jan 2017, 4:48 PM
Mel Colton
Mel Colton - avatar