You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I have defined the width of my embedded form manually and now would like it to appear centered on a page. Does anyone know the CSS that I need to apply to the registration control to tell it to do this?
Just to be clear, I don't want the content in the form centered (fields, text). I just want the form to display centrally on a page.
This is really not something solely for ConfiForms to manage, as it uses the container you are placing it into.
Which means, you need to center the "container"
The easiest way is to use something like a "div" macro from content formatting plugin and adding some CSS styling.
To get something like (of course, it depends on the form itself - but you can see it is centrally aligned)
Hope it helps
Building a div macro using the user macro will not work for everything because of the bug in how user macros are rendered - our experience... (and yes, reported to Atlassian - https://jira.atlassian.com/browse/CONFSERVER-25507 )
So it needs to be built either as a "real" Confluence plugin or some 3rd party used...
@Matthew Martin simple & effective way to center your embedded form on your page is to: