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
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,547 views 25 14
Join discussion

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