mysql - Split data into two columns using CSS -


What I want to create is the page that gets results from my DB and CSS (like CSS better way) ...

  line 1 | Line 6 line 2 Line 7 row 3 Line 8 row 4 Line 9 row 5 Line 10  

If there are more than 5 rows then the second column should be empty.

So if your goal is a list to be wrapped in two columns, then in the CSS There is no standard way. One way that the CSS3 offer (but most browsers are not supported) is the column property, but the bad part about this rule (the last time I checked) is that it should choose the front Forces you want to have multiple columns and you can not specify the idea of ​​"max-column".

But the best solution I found is here:

But if you just want multiple columns of data, then use the best solution HTML table is .


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -