Well... I just created this: <ol style="width:100px"> <li>Test alkj lkj sdlkfj sadlökfj lksj laösdkfj lskdjf lsdjk flasdj flaskjd f</li> <li>Test2</li> </ol>
The text wraps just as you want it. It is the standard behaviour as it seems. What browser do you use? Best regards, Martin On 1 July 2010 16:27, Chris <[email protected]> wrote: > Thanks for the reply. That is not exactly what I meant. It is more > like this: > > 1. This is the first part of item 1 > The first word of this line is under the first word of the > previous line > 2. And so on > And so on. > > > NOT like this: > > 1. Here are items > that is completely left justified > > > Does that make sense? > > > > > On Jun 29, 9:58 pm, Brandtley McMinn <[email protected]> wrote: > > Hey Chris, > > > > I think I understand what you mean. If you're looking for something that > > looks like this: > > > > 1. Item name bit/ > > 1st sub item > > 2nd sub item/ > > 2. Other item bit > > ... > > ... > > > > Thats a matter of clever nesting of your lists. So essentially your > > markup would have: > > > > <ol> > > <li>Title > > <ul class="subitems"> > > <li>Sub item of Title</li> > > <li>Other sub item</li> > > </ul> > > </li> > > <li>Second Title</li> > > </ol> > > > > Then all you would need to do from there is target the <ul> with a class > > attribute and style the margin however you need it. > > > > Hope this helps, > > > > -- Brandtley McMinn - Creative Director > > > > > Gigglebox Studios XD > > > [email protected] > > > 512.406.1666 > > > > On 6/29/2010 9:32 AM, Chris wrote: > > > > > This is my first post to this group. Sorry if the question is lame and > > > obvious. > > > > > I would like to create an ordered list where the text is not aligned > > > under the item number but rather under the first letter of the > > > sentence. I tried changing the margin attribute, but that didn't work. > > > > > Thanks, > > > Chris > > -- > -- > You received this because you are subscribed to the "Design the Web with > CSS" at Google groups. > To post: [email protected] > To unsubscribe: [email protected] > -- -- You received this because you are subscribed to the "Design the Web with CSS" at Google groups. To post: [email protected] To unsubscribe: [email protected]
