Apply a Class To a Body Action

Related > Setup a Body Action

There are no preferred way to apply a class to a Body Action. This page will just list some ways to do it. So you will have to decide which option are suited for your purpose. Or invent your own.

Class applied to a Body Action = <csobj>

Body Action in a SPAN <span>.

Body Action in a paragraph <P> / Floating Box (layer) <DIV> / Table Cell <TD>.

 

Class applied to a Body Action = <csobj>

By clicking on a Body Action the CSS Inspector will change. Here you can apply a CSS class to a <csobj> directly. But this will work in some browsers only.
So we need some kind of work around.

Work around:

#1
Position your cursor either in front or in behind of the Body Action icon. Hit ALT-space (Mac) or CTRL-space (Win), this will inset a space in the code - &nbsp;. Now you can select both the Body Action and the &nbsp;. Go to the CSS Inspector and select the class you like to apply to the Body Action.

The &nbsp; can be inconvenient for you design wise. Select the Body Action and hit Cmd-Y (Mac) CTRL-Y (Win) to split the window and delete the %nbsp; in the source.

What you have done now is apply the Body Action by a SPAN.

#2
Or write two letters apply a SPAN class to this, click between those two letters and inset the needed Body Action, then delete the two letters.

Body Action in a SPAN <span>.

Do as described above for "Class applied to a Body Action = <csobj>

Body Action in a paragraph <P>/ Floating Box (layer) <DIV> / Table Cell <TD>.
This is straight forward.

If you have positioned your Body Action in Paragraph/Floating Box or a Table Cell singled. You just select the whole line/box or Cell and select the "Par/Div/<TD>" option in the CSS Inspector.

That's it.

 

 Back to top