Page 1 of 1

Justifying the following heading

Posted: Mon Oct 17, 2005 3:04 pm
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

Re: Justifying the following heading

Posted: Mon Oct 17, 2005 3:57 pm
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. :-)

Re: Justifying the following heading

Posted: Tue Oct 18, 2005 8:13 am
by SandyD
The first one worked fine, thanks for your quick response.

Need to get my head around this css more.

SandyD