Replace HTML Table with Divs

前端 未结 6 1445
刺人心
刺人心 2020-12-07 15:29

Alright, I\'m trying to buy into the idea that html tables should not be used, and that divs should be. However, I often have code that resembles the following



        
6条回答
  •  [愿得一人]
    2020-12-07 16:05

    Basically it boils down to using a fixed-width page and setting the width for those labels and controls. This is the most common way in which table-less layouts are implemented.

    There are many ways to go about setting widths. Blueprint.css is a very popular css framework which can help you set up columns/widths.

提交回复
热议问题