Collapse and style definition lists
ie display this: <dl> <dt>Foo:</dt> <dd>Bar</dd> <dt>Juice:</dt> <dd>Toast</dd> <dd>Milk</dd> </dl> as: *Foo:* Bar *Juice:* Toast Milk
This commit is contained in:
parent
6f135629a0
commit
078be8e98f
1 changed files with 10 additions and 0 deletions
|
@ -55,6 +55,16 @@ ol, ul {
|
|||
padding-left: 1.5em;
|
||||
margin: 0;
|
||||
}
|
||||
dt {
|
||||
float: left;
|
||||
clear: left;
|
||||
width: 40px;
|
||||
font-weight: bold;
|
||||
text-overflow: hidden;
|
||||
}
|
||||
dd {
|
||||
margin-left: 40px;
|
||||
}
|
||||
p {
|
||||
text-align: justify;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue