lists and line wrap

  • Zwirko
  • Guru
  • Guru
  • User avatar
  • Joined: May 29, 2005
  • Posts: 1417
  • Loc: 55° N, 3° W
  • Status: Offline

Post March 30th, 2010, 2:37 pm

I've got a series of ordered lists. In most of them the text in each list item fits on one line. However, a bunch of 'em require two lines. For the list items that need two lines, the text has an ugly way of wrapping like I've tried to illustrate in the made up example below, see item 3:


Code: [ Select ]
01. Europa
02. Callisto
03. Triton is my favourite
moon in the solar system
04. Ganymede
05. Titan
  1. 01. Europa
  2. 02. Callisto
  3. 03. Triton is my favourite
  4. moon in the solar system
  5. 04. Ganymede
  6. 05. Titan


It'd be nicer if I could get it to look this:

Code: [ Select ]
01. Europa
02. Callisto
03. Triton is my favourite
    moon in the solar system
04. Ganymede
05. Titan
  1. 01. Europa
  2. 02. Callisto
  3. 03. Triton is my favourite
  4.     moon in the solar system
  5. 04. Ganymede
  6. 05. Titan



I'm fairly sure I've done something like this before, but I've forgotten how.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 30th, 2010, 2:37 pm

  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post March 30th, 2010, 3:50 pm

I think it's list-style-position:outside; off the top of my head.
Strong with this one, the sudo is.
  • Zwirko
  • Guru
  • Guru
  • User avatar
  • Joined: May 29, 2005
  • Posts: 1417
  • Loc: 55° N, 3° W
  • Status: Offline

Post March 30th, 2010, 4:51 pm

:iconthumbright:

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: roelof and 148 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.