How do I align spans or divs horizontally?

后端 未结 10 996
礼貌的吻别
礼貌的吻别 2020-12-04 10:33

My only problem is making them line up three-across and have equal spacing. Apparently, spans can not have width and divs (and spans with display:block) don\'t appear horizo

10条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-04 11:25

    I would do it something like this as it gives you 3 even sized columns, even spacing and (even) scales. Note: This is not tested so it might need tweaking for older browsers.

    
    
    
    content
     
    content
     
    content

提交回复
热议问题