How to style dt and dd so they are on the same line?

后端 未结 18 2253
滥情空心
滥情空心 2020-11-27 10:12

Using CSS, how can I style the following:

Mercury
Mercury (0.4 AU from the Sun) is the closest planet to th
18条回答
  •  渐次进展
    2020-11-27 10:28

    This works on IE7+, is standards compliant, and allows differing heights.

    
    
    
    A
    Apple
    B
    Banana
    Bread
    Bun
    C
    Cinnamon

    See the JSFiddle.

提交回复
热议问题