How to style definition list items to have each definition in one line?
HTML:
<dl>
    <dt>word</dt><dd>meaning</dd>
    <dt>word<开发者_如何学C/dt><dd>meaning</dd>
    <dt>word</dt><dd>meaning</dd>
</dl>
Visual rendering I need:
*word* meaning
*word* meaning
*word* meaning
Try this.
dt  {
    clear:left;
    float:left;
    font-size:12px;
    line-height:26px;
    width:70px;
}
dd {
    clear:right;
    font-size:12px;
    line-height:18px;
    padding:4px 0 4px 40px;
}
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论