Displaying a definition list inline

dt, dd { display: inline; }

Term
Description
Term
Description

dt, dd { display: inline; margin: 0; padding: 0; }

Term
Description
Term
Description

Handy for one pair.


dt { float: left; }

Term
Description
Term
Description

dt, dd { margin: 0; padding: 0; } dt { float: left; margin-right: 0.3em; }

Term
Description
Term
Description

Handy for multiple pairs.


Home - More stuff