K
Keith Wiley
I would like a layout in which there is a list of items, each of which is
a heading for a sublist of items, such that all the sublists are "tabbed"
to the same position, sort of like:
Black Items: cat, car, marker
Red Items: curtain, sofa
Orange Items: carpet
Presently, I have the whole thing inside a <P> with a "left" for the left
edge of the entire list, so that the list is indented under a more global
heading, but I can't figure out how to set a "left" for the individual
lists. I tried setting "left" inside a <SPAN>:
<P STYLE="left: 20px">
Black Item: <SPAN STYLE="left: 40px">cat, car, marker</SPAN>
</P>
But that didn't work. I figured out that I could push the lists over by
giving SPAN a left margin, but the margins don't line up on the different
lines of text, they are all spaced according to the width of the Color
word.
How do I do this?
Thanks.
________________________________________________________________________
Keith Wiley (e-mail address removed)
http://www.unm.edu/~keithw http://www.mp3.com/KeithWiley
"Yet mark his perfect self-contentment, and hence learn his lesson,
that to be self-contented is to be vile and ignorant, and that to
aspire is better than to be blindly and impotently happy."
-- Edwin A. Abbott, Flatland
________________________________________________________________________
a heading for a sublist of items, such that all the sublists are "tabbed"
to the same position, sort of like:
Black Items: cat, car, marker
Red Items: curtain, sofa
Orange Items: carpet
Presently, I have the whole thing inside a <P> with a "left" for the left
edge of the entire list, so that the list is indented under a more global
heading, but I can't figure out how to set a "left" for the individual
lists. I tried setting "left" inside a <SPAN>:
<P STYLE="left: 20px">
Black Item: <SPAN STYLE="left: 40px">cat, car, marker</SPAN>
</P>
But that didn't work. I figured out that I could push the lists over by
giving SPAN a left margin, but the margins don't line up on the different
lines of text, they are all spaced according to the width of the Color
word.
How do I do this?
Thanks.
________________________________________________________________________
Keith Wiley (e-mail address removed)
http://www.unm.edu/~keithw http://www.mp3.com/KeithWiley
"Yet mark his perfect self-contentment, and hence learn his lesson,
that to be self-contented is to be vile and ignorant, and that to
aspire is better than to be blindly and impotently happy."
-- Edwin A. Abbott, Flatland
________________________________________________________________________