Bullet List Indented

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
lstewart
Jr. Propeller Head
Posts: 4
Joined: Tue Jan 31, 2012 3:11 pm

Bullet List Indented

Post by lstewart »

I am new to Flare, and I would much appreciate some assistance in getting my bulleted list indented to the proper location in the document. I have created a style sheet and reviewed the help files which suggested I set up a class for <li>, and set the left margin within properties. I can't find properties which may be set for this class, and using Indent is adding a group tag <div>. I need three <div> tags to get it indented where I want it. ARGH!!!!!!
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Bullet List Indented

Post by LTinker68 »

If you're talking about just indenting to get a second level in a list, then there is an indent icon just above the topic in the XML Editor that looks similar to the indent icon in Word and other programs. If you're in a list item (don't have anything selected, just have the cursor sitting in the line) and click that icon, then it should indent that list item, and create another ol/ul container tag around the current li tag. You can then select the drop-down arrow next to the list type icon to change it from a roman numbered list to an alpha list or from a numbered list to a bulleted list, etc.

Is that what you were talking about, or are you asking how to modify how much that second level list indents from the parent list?
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
lstewart
Jr. Propeller Head
Posts: 4
Joined: Tue Jan 31, 2012 3:11 pm

Re: Bullet List Indented

Post by lstewart »

Thanks, Lisa. I set up a class on my <ul> to indent the entire list to the proper area of the page. It works like a charm! :)
jbananak
Propeller Head
Posts: 68
Joined: Thu May 03, 2012 2:45 am

Re: Bullet List Indented

Post by jbananak »

Do you know how to set the specific indent for different bullet levels (eg 1st level 0 (left aligned), 2nd level 0.25inch, 3rd level 0.5inch, etc). I just can't seem to get this to work properly (starting from the 1st level (which had an indent as it was imported from a Word file with an indented style... and even though I sent alignment as 0... or so I thought...).
crdmerge
Sr. Propeller Head
Posts: 248
Joined: Tue Dec 16, 2008 5:37 am

Re: Bullet List Indented

Post by crdmerge »

Code: Select all

ul
{
	list-style-type: square;
	margin-top: 0px;
	padding-top: 0px;
	padding-left: 15px;
	margin-left: 15px;
}

ul ul
{
	list-style-type: disc;
	margin-top: 0px;
	padding-top: 0px;
	padding-left: 8px;
	margin-left: 8px;
}

ul ol
{
	list-style-type: decimal;
	margin-top: 0px;
	padding-top: 0px;
	padding-left: 10px;
	margin-left: 10px;
}
We keep ours to two levels only, but you could certainly go deeper, if you choose. If you want different indents for lists inside a table (we wanted less, to save on real estate, particularly in tables with three or more columns), simply create td ul, td ul ul, td ul ol styles. And, of course, ordered lists would follow the same type of nested styling.

Be sure to remove any inline styling caused by importing (sanitize the content by cutting it from your topic, pasting it into Notepad, then copying that content back into your topic. Then use the toolbar list buttons and Indent Items button to structure the nested list items. In this manner, you don't have to assign styles to the list items, simply let CSS and HTML do it for you.


Good luck,
Leon
Post Reply