Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

style tag in Confluence 3 and 4

Guenter Huber
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 25, 2013

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

{style}
/*CSS*/
{style}

in 3.5. Doesn t work in 4.3. Replacement:

<style type=text/css">
/*CSS*/
</style>

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.

G.

1 answer

0 votes
Daniel Borcherding
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 25, 2013

Hello,

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
TAGS
AUG Leaders

Atlassian Community Events