Images in multilevel lists

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
sitapatel
Propeller Head
Posts: 15
Joined: Thu Oct 27, 2016 8:44 am

Images in multilevel lists

Post by sitapatel »

Hi,

I have a multilevel list (3 levels) that I need to add images to at the second and third levels.

Each level has an instruction so when I add the images, I create a paragraph item and then add my caption. My list sequence continues as I want it to. The problem is that the image also indents but I don't want it to. It isn't so bad on the second level but on the third level it is too far indented.

I've tried the following CSS on the image without any luck:

img.centre
{
display: block;
margin: auto;
mc-float: center;
}

Can anyone help please?

Thank you!
smajors
Sr. Propeller Head
Posts: 180
Joined: Mon Oct 21, 2013 9:28 am
Location: Midwest United States

Re: Images in multilevel lists

Post by smajors »

Hello! I'll try to help. This is somewhat difficult to explain without showing but what I do to insert an image in a list is like what you said, insert a paragraph by clicking the Bullet List box on the toolbar menu, then to move the image to the left I keep clicking the "Outdent Items" (left arrow button) next to the bullet list tool until the image is placed where I want it.
paragraph_tools.png
You do not have the required permissions to view the files attached to this post.
Technical Writer
Training & Development Team/Marketing Department
SteveS
Senior Propellus Maximus
Posts: 2090
Joined: Tue Mar 07, 2006 5:06 pm
Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
Contact:

Re: Images in multilevel lists

Post by SteveS »

How are you creating your multilevel list?

If you are using autonumber this should be a no brainer, the autonumber is added on a block by block basis so you just have to make sure the autonumber hasn't been applied to the block where you are inserting the image.

If you are using ordered or unordered list tags (<ol> or <ul>) it is a little trickier because the block where you are trying to insert the image will inherit the characteristics of the list. It then adds its on characteristics. If that is what you are doing, and I'm guessing it is, the image code you have supplied would place the image about 3/4s of the way across the page.

So, I'd be looking at the topics on this forum relating to ways to handle multilevel lists.

To simplify, in your case (assuming you are using lists and not autonumbers) you will need to finish the list, insert a block for the image (and apply your image formatting), and then start a new list using the list continue option. Of course, if you have an unordered list (dot points) you won't need to use continue numbering.

HTH
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
sitapatel
Propeller Head
Posts: 15
Joined: Thu Oct 27, 2016 8:44 am

Re: Images in multilevel lists

Post by sitapatel »

Thank you both so much.

I had to use your method Steve though I will certainly check out the autonumbering on a block by block basis!
Post Reply