ul / li style question
- Started
- Last post
- 9 Responses
- xrusos
check it out... this is normal ul / li format:
*list item 1 - with small description of the item
*list item 2 - with small description of the itembut i want it to look like this:
*list item 1 - with small
description of the item
*list item 2 - with small
description of the itemyou see the difference? line two of the item is indented too. does that make sense? that's the challenge, how do i do it?
- xrusos0
okay, NT killed my example. let me try again...
check it out... this is normal ul / li format:
*list item 1 - with small description of the item
*list item 2 - with small description of the itembut i want it to look like this:
*list item 1 - with small
_description of the item
*list item 2 - with small
_description of the item(where _ is actually a space)
you see the difference? line two of the item is indented too. does that make sense? that's the challenge, how do i do it?
- motivdesign0
You could always force the linebreak and then use SPAN with a padding-left value to push the text over. It would probably work best if you were forcing font size in px.
- xrusos0
there has got to be a better way.
- xrusos0
no css guru's out there?
- metonym0
is the problem limiting the width of the list item or just spacing it to align with the text & not the bullet? a ul li combo will make lines 2+ align with text, not the bullet. If you are concerned with the length of the area before it wraps, you could wrap it with a set-width div or a table cell.
- metonym0
Might have added an extra step:
you can set the ul to a specific css attribute, negating the need for an wrapper div. I don't know how well this reproduces across platform, unfortunately.
- BlueTree0
That's how the list works for me?
Maybe you're just missing the obvious.....
list item
The closing should wrap the text properly.
- BlueTree0
I guess you can't put html in these posts.... oops.
What I was meaning to say is that closing *li* tag at the end of your list item.
That should wrap the text properly