>> English << | česky | Português | ZVON > Tutorials > CSS2 tutorial |
Intro / Search / ZVON |
>> Example 48 << | Prev | Next | Index | Contents |
An element can be displayed as a block or inline. If the element display property is not specified, inline display is assumed.
XML Source | CSS stylesheet | Example link |
---|---|---|
(1)
<AAA> <BBB> <CCC>ccc</CCC> <CCC>ccc</CCC> <DDD>ddd</DDD> <DDD>ddd</DDD> <EEE>eee</EEE> <EEE>eee</EEE> </BBB> <BBB> <CCC>ccc</CCC> <CCC>ccc</CCC> <DDD>ddd</DDD> <DDD>ddd</DDD> <EEE>eee</EEE> <EEE>eee</EEE> </BBB> </AAA> | BBB {display:block} CCC {display: inline} DDD {display: inline} EEE {display: inline} | View output |
XML Source | CSS stylesheet | Example link |
(2)
<AAA> <BBB> <CCC>ccc</CCC> <CCC>ccc</CCC> <DDD>ddd</DDD> <DDD>ddd</DDD> <EEE>eee</EEE> <EEE>eee</EEE> </BBB> <BBB> <CCC>ccc</CCC> <CCC>ccc</CCC> <DDD>ddd</DDD> <DDD>ddd</DDD> <EEE>eee</EEE> <EEE>eee</EEE> </BBB> </AAA> | BBB {display:block} CCC {display: inline} DDD {display:block} EEE {display: inline} | View output |