Hello!
Sorry to say I'm not a professional in css, that is why I need your help with exporting:
I have headers and footers (they are working ok), but the body of my documents should be alined and sized 20pt (and they are not working).
My code:
@page
{
@top-center
{
content: "TEXT";
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 8pt;
font-style: oblique;
}
@bottom-right
{
content: counter(page);
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 8pt;
padding-bottom: 3em;
font-style: oblique;
}
{
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 20pt;
text-align: justify;
}
}
How can i solve the problem?
Hi Catherine,
After looking at a few other examples on the Atlassian Community, it looks like you're just missing the relation for "Body" in your CSS code. Try updating the last part to something like this:
...
font-style: oblique;
}
body,p,li,td,table,tr,.bodytext,.stepfield
{
font-size: 20pt;
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
text-align: justify;
}
Cheers,
Shawn
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.