lists and line wrap

  • Zwirko
  • Guru
  • Guru
  • User avatar
  • Posts: 1417
  • Loc: 55° N, 3° W

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13503
  • Loc: Florida

Post 3+ Months Ago

I think it's list-style-position:outside; off the top of my head.
  • Zwirko
  • Guru
  • Guru
  • User avatar
  • Posts: 1417
  • Loc: 55° N, 3° W

Post 3+ Months Ago

:iconthumbright:

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 75 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.