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

后端 未结 18 2307
滥情空心
滥情空心 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:50

    Most of what people here suggested works, however you should only place generic code in to the style sheet, and place the specific code in to the html code as shown below. Otherwise you will end up with a bloated style sheet.

    Here is how I do it:

    Your style sheet code:

    
    

    Your html code:

    1st Entity
    Consumer
    2nd Entity
    Merchant
    3rd Entity
    Provider, or cToken direct to Merchant
    4th Entity
    cToken to Provider

    Looks like this

提交回复
热议问题