Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

substep text not wrapping correctly

Explorer ,
May 11, 2011 May 11, 2011

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.

1.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , May 11, 2011 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

Translate
LEGEND ,
May 11, 2011 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 11, 2011 May 11, 2011

It worked perfectly!  Thanks so much for the help.

Can you recommend any books on learning CSS?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 11, 2011 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


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 11, 2011 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 11, 2011 May 11, 2011
LATEST

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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp