Skip to main content
Inspiring
May 11, 2011
Answered

substep text not wrapping correctly

  • May 11, 2011
  • 1 reply
  • 1251 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 has been closed for replies.
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

1 reply

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?

Matt-Tech Comm Tools
Community Expert
Community Expert
May 11, 2011

William,

Thanks so much for the recommendations.  I've bookmarked the W3Schools and the O'Reilly site.

Have a great day!  You certainly made mine.


check out the CSS Cookbook, and Complete CSS: The Definitive Guide, both by the aforementioned O'Reilly

-Matt

Matt Sullivan

Director of Training | roundpeg, Inc.

@mattrsullivan

P: 714.960.6840 | F: 360.230.7269 | matt@roundpeg.com

4590 MacArthur Blvd., Suite 620 | Newport Beach, CA 92660

www.roundpeg.com

-Matt Sullivan, FrameMaker Course Creator, Author, Trainer, Consultant