Justifying the following heading

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
SandyD

Justifying the following heading

Post by SandyD »

Hi all, forgive me for being so noob but:

In the code, {title} {print showbutton="true"}, how can I go about right aligning the print icon.

I have tried putting them in table. e.g. {title}{print showbutton="true"}

but the table ends up about 5 centimeters in height.

Can anyone give me a quick solution right alingning the print icon?

Thanks in advance,

SandyD
westis

Re: Justifying the following heading

Post by westis »

Hi SandyD,

You should be able to put it like this:

Code: Select all

<div class="heading"><div style="float: right;">{print showbutton="true"}</div>{title}</div>
or depending on how the header class is styled this can be better still:

Code: Select all

<div style="float: right;">{print showbutton="true"}</div>
<div class="heading">{title}</div>
Of course you could put a class for the second div instead of the style. Let me know if it works. :-)
SandyD

Re: Justifying the following heading

Post by SandyD »

The first one worked fine, thanks for your quick response.

Need to get my head around this css more.

SandyD
Locked

Return to “CMSMS Core”