style tag in Confluence 3 and 4

Trying to make sure our upgrade from Confluence 3.5 to 4.3 will go smoothly I need to wrap my head around the {style} tag.

We have


in 3.5. Doesn t work in 4.3. Replacement:

<style type=text/css">

Then I found that the Adaptivist Content Formatting macros expose a {style} too. Guess this *adds* functionality?

Thought I could use {xhtml-style} macro in 4.3 instead of the HTML <style>, but didn t work.

Thanks for any insight.


1 answer


I just wanted to touch base with you on this issue. I don't seem to be able to find mention of a {style} macro that comes pagaged with Confluence. It looks like you are trying to inject css into a given page. Why are you using a style macro versus an html macro?

You are right that the Adaptavist Content Formatting macro exposes a style macro. Are you trying to use this macro to do your styling? If so it may be the case that the migration task that updates all of the existing style tags into the 4.3 compatible version of this plugin is failing.

How many pages are you using this on? What is the functionality that you want to acheve? Maybe there is anther way we can acheive it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,523 views 4 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you