Setting the next following style

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
Matze
Sr. Propeller Head
Posts: 166
Joined: Mon Jun 20, 2016 10:35 pm

Setting the next following style

Post by Matze »

Hi all,
I´ve an unordered table list style class

Code: Select all

ul.Tab
.

For my print output it requrires the successor

Code: Select all

li.Tab
.

But it is possible like in Framemaker to set the desired successor automatically via Flare or CSS.

Each of my ul or ol table list styles requires the li.Tab successor and its hard work to always set the normal li style to li.Tab.
NorthEast
Master Propellus Maximus
Posts: 6363
Joined: Mon Mar 05, 2007 8:33 am

Re: Setting the next following style

Post by NorthEast »

If you want to format all list items inside a list that uses ul.Tab, then don't bother with the li.Tab class, and instead use:

Code: Select all

ul.Tab > li 
{

}
This will format all li tags that are directly inside a ul.Tab tag.
Post Reply