Forum Moderators: not2easy

Message Too Old, No Replies

List with several hierarchy levels

indent on several levels without spaces on top and below

         

zgb999

12:38 pm on Jun 26, 2004 (gmt 0)

10+ Year Member



How can I get a list where this is the header
- this is the first hierarchy level
. with several lines formated like
. this
. - this is the second hierarchy
. . level formated like this?
. . Also with several lines of text.

There should be no spaces between the lines so it does not work with <ul> (or I could not find out how to get <ul> to do this...).

Longhaired Genius

12:57 pm on Jun 26, 2004 (gmt 0)

10+ Year Member



You can use CSS to set the margins of <ul> and <li> to a small value or 0. So you should be able to get the lines as tight as you want. Experiment a bit. I think a list is definitely the right html to use.

zgb999

5:05 pm on Jun 26, 2004 (gmt 0)

10+ Year Member



Thank you for the feedback!

With <ul><li> it did work but I could not set the margin between the list-sign (bullet...) and the text of the first line.

I did not want that much space between the bullet and the text of the first line.