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 :-)
3 Réponses
+ 9
<table>
+ 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
0
thanks folks