float:right text box in <ol> removing list numerals

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
Andrew
Propellus Maximus
Posts: 1237
Joined: Fri Feb 10, 2006 5:37 am

float:right text box in <ol> removing list numerals

Post by Andrew »

Hello all,

I'm trying to create a sidebar, which I haven't had to do in Flare before. I'm using a text box and setting it to float right. When I set the float, the list items properly flow around it, but they lose their numbering (in both the XML Editor and PDF output). Screen cap:

Image

The code behind the page:

Code: Select all

 <li>Click <b>Edit</b>. The Select Database Column dialog opens.</li>
            <li>From the Table Name drop-down menu, select the table from which you would like to add a column. The Table Name drop-down field populates with the tables available in the tab.</li>
        </ol>
        <div style="width: 1.5in;height: 4in;float: right;padding-left: 3px;padding-right: 3px;padding-top: 3px;padding-bottom: 3px;border-left-style: solid;border-left-width: 1px;border-left-color: ;border-right-style: solid;border-right-width: 1px;border-right-color: ;border-top-style: solid;border-top-width: 1px;border-top-color: ;border-bottom-style: solid;border-bottom-width: 1px;border-bottom-color: ;background-color: #dcdcdc;">
            <p> </p>
        </div>
        <ol MadCap:continue="true">
            <li>From the Column Name drop-down menu, select the column you would like to add. The Column Name drop-down field populates with the columns from that table. Only columns that do not already exist in the Field Chooser or on the tab are available to add.</li>
Any ideas as to what I may have done wrong? Or perhaps this is a bug? I'm using Flare v4.2.1.
Flare v6.1 | Capture 4.0.0
KevinDAmery
Propellus Maximus
Posts: 1985
Joined: Tue Jan 23, 2007 8:18 am
Location: Darn, I knew I was around here somewhere...

Re: float:right text box in <ol> removing list numerals

Post by KevinDAmery »

Try putting the div before or after the list rather than in the middle. Because of the float it should still sit beside the list. My thinking is that placing the div in between the two lists is interfering with the continue parameter in some way.
Until next time....
Image
Kevin Amery
Certified MAD for Flare
Andrew
Propellus Maximus
Posts: 1237
Joined: Fri Feb 10, 2006 5:37 am

Re: float:right text box in <ol> removing list numerals

Post by Andrew »

Good idea. I just tried that out, and what happens is that any area of the list that is floated around the text box is missing its numerals. So it looks like there is some problem with floating divs with a list, at least in this case. I don't have any strange padding or margins applied (just the default Flare stuff).

I can reproduce this issue in the sample project -- can anyone else reproduce this issue? Want to double-check it's not my system.
Flare v6.1 | Capture 4.0.0
Andrew
Propellus Maximus
Posts: 1237
Joined: Fri Feb 10, 2006 5:37 am

Re: float:right text box in <ol> removing list numerals

Post by Andrew »

Reported it as a bug, MadCap confirmed it's been broken since 4.2.
Flare v6.1 | Capture 4.0.0
Post Reply