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

This widget could not be displayed.


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 Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

475 views 6 6
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