An unstyled definition list...
- Term 1
- Description one
- Term 2 with some fairly long text after it
- Description two blah blah
An unstyled definition list...
- Term 1
- Description one
- Term 2 with some fairly long text after it
- Description two blah blah
- Term 3 with some fairly long text after it and it keeps going and going
- Description three blah blah
- Term 4 with some fairly long text
-
Description for the quick brown fox jumped over the
lazy dog and this is just some crap to make sure we hit multiple lines
and are we there yet? This looks crap though because it appears
below the definition term
- Term 5
- Description five
-
xxx
- That was the colour red
I don't think we can use CSS table styling as it would require a third
level of elements, probably around each dt/dd pair to indicate a table-row.
- Foo
-
An attempt to style a long definition in a manner that I think makes more
sense, namely to have it all indented the same amount, rather than
subsequent lines wrapping back to the start of the line, which looks crap.
- Foo bar baz
-
An attempt to style a long definition in a manner that I think makes more
sense, namely to have it all indented the same amount, rather than
subsequent lines wrapping back to the start of the line, which looks crap.
- Foo bar baz is a really long term
-
An attempt to style a long definition in a manner that I think makes more
sense, namely to have it all indented the same amount, rather than
subsequent lines wrapping back to the start of the line, which looks crap.
This works, but relies on hardcoded percentages in the flex: rule, which
seems undesirable. (e.g. compared to a table "doing the right thing"
automatically).
- Foo
-
An attempt to style a long definition in a manner that I think makes more
sense, namely to have it all indented the same amount, rather than
subsequent lines wrapping back to the start of the line, which looks crap.
- Foo bar baz
-
An attempt to style a long definition in a manner that I think makes more
sense, namely to have it all indented the same amount, rather than
subsequent lines wrapping back to the start of the line, which looks crap.
- Foo bar baz is a really long term
-
An attempt to style a long definition in a manner that I think makes more
sense, namely to have it all indented the same amount, rather than
subsequent lines wrapping back to the start of the line, which looks crap.
- Short
- Also short
- This is a long definition term
- But this is short
- Foo bar baz
-
An attempt to style a long definition in a manner that I think makes more
sense, namely to have it all indented the same amount, rather than
subsequent lines wrapping back to the start of the line, which looks crap.