This question has already been answered:
- How to arrange divs in multiple columns? 3 replies
For the formation of columns are mainly used DIV. What difficulties can there be if you make columns using <ul><li></li></ul> ?
This question has already been answered:
For the formation of columns are mainly used DIV. What difficulties can there be if you make columns using <ul><li></li></ul> ?
A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .
There are no difficulties, except that dynamic columns (textual) on pure HTML cannot be done in principle.
If the columns mean the site layout method, it is strongly recommended to use DIV to avoid unnecessary fuss. In order to avoid fuss at all (with a lack of development experience), tables are generally recommended: less chances to build with layout. But flexibility (and simplicity of further modification) is lost many times, so no one likes them.
As noted above, for layout it is better to use a <div> . Where can I create a list of columns? For example, in the horizontal menu, where each item is essentially a column. There are no difficulties in using: we place the elements of the list in a row, and for the list itself we reset the display of markers.
Generally speaking, if there is some enumeration of blocks, i.e. they all have some kind of common point, as, for example, menu items are attached to the menu, then why not make up the list. Here, by the way, is an example where the Consultancy, Development and Workshops blocks are made up of a list http://csswizardry.com/
Source: https://ru.stackoverflow.com/questions/41852/
All Articles