Lea Verou 24.02.2012

Flexible multiline definition lists with 2 lines of CSS 2.1

Przeczytaj oryginał

This article presents a clever CSS solution for styling definition lists (<dl>) where each term-definition pair appears on one line. It addresses common problems with traditional methods and demonstrates how to use the :after pseudo-element with escaped unicode characters and white-space: pre to insert line breaks, all using CSS 2.1 without requiring floats, invalid markup, or poor browser support.

Flexible multiline definition lists with 2 lines of CSS 2.1

komentarzy

Brak komentarzy

Bądź pierwszy, który podzieli się swoimi myślami!

Rozszerzenie przeglądarki

Uzyskaj natychmiastowy dostęp do AllDevBlogs z przeglądarki

Tydzień

No top articles yet