>> English << | česky | Português | ZVON > Tutorials > CSS2 tutorial |
Intro / Search / ZVON |
>> Example 28 << | Prev | Next | Index | Contents |
The white-space property can change the normal behaviour (several following whitespaces are collapsed to one and lines are wraped) either to pre (no collapsing and no wraping) or to nowrap (collapsing but no wrapping).
XML Source | CSS stylesheet | Example link |
---|---|---|
(1)
<AAA> <BBB>bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb</BBB> <CCC>ccc ccc ccc ccc ccc</CCC> <DDD>ddd ddd ddd ddd ddd ddd ddd ddd ddd ddd ddd ddd ddd ddd ddd</DDD> </AAA> | BBB {white-space: normal} CCC { white-space: pre } DDD { white-space: nowrap } | View output |