HTML & CSS: Vertical Flow Layout (columnar style), how to implement?

后端 未结 3 1911
悲哀的现实
悲哀的现实 2020-12-09 11:10

The standard CSS/html positioning of \"flowing\" Elements is horizontal (row based) => float:left;. What do I need to do, to position them like in the example b

3条回答
  •  猫巷女王i
    2020-12-09 11:39

    Add a class to each of the divs and style it with something like:

    .myDiv
    {
      width: 33%;
      float: left;
    }
    

提交回复
热议问题