Skip to main content
Inspiring
May 11, 2011
Answered

substep text not wrapping correctly

  • May 11, 2011
  • 5 replies
  • 1263 views

TCS3 in XP

I know you're not supposed to have more than one line of text in a substep, but a girl's gotta do what a girl's gotta do.  However, the second line of the substep is not indenting to the same level as the first line.  Instead, it is wrapping to the level of the substep letter.

I thought selecting Convert to Autonumber to HTML List on the Conversion Settings dialog box was supposed to take care of this problem.

Here is the CSS:

P.substep {
font-family: Tahoma;
font-size: 11pt;
margin-left: 0pt;
margin-top: 0pt;
list-style-type: lower-alpha;
text-indent: 17pt;
margin-bottom: 6pt;
}
LI.p-substep {
font-family: Tahoma;
font-size: 11pt;
list-style-type: lower-alpha;
list-style-position: outside;

Probably some redundancy here.  If so, let me know what is safe to delete.

Thanks in advance for your help.

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer Willam van Weelden

Hi,

Your style uses text-indent to indent the substep seventeen points. Text-indent only indents the first line of the text. Try this:

1. Remove the text-indent from the paragraph style.

2. Add margin-left: 17pt; to the li styling.

Greet,

Willam

5 replies

Willam van Weelden
Willam van WeeldenCorrect answer
Inspiring
May 11, 2011

Hi,

Your style uses text-indent to indent the substep seventeen points. Text-indent only indents the first line of the text. Try this:

1. Remove the text-indent from the paragraph style.

2. Add margin-left: 17pt; to the li styling.

Greet,

Willam

cvgsAuthor
Inspiring
May 11, 2011

It worked perfectly!  Thanks so much for the help.

Can you recommend any books on learning CSS?

Willam van Weelden
Inspiring
May 11, 2011

Hi,

Start by W3Schools since they have some excellent examples and their site is free.

If you want to have a book, I generally find the O'Reilly books rather worthwile, although I haven't read any of their books on CSS. See http://oreilly.com/catalog/9780596802448/ and other books in their catalog.

Greet,

Willam