Forums

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

why my html macro lost the style after saving

NI, Jiashun
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 28, 2021

Hi team 

I 'm trying to edit my page using html macro. 

In my preview page,the html seems fine,so i click 'save'.When i switch to my page, the style lost.

I'm not clear about how confluence build my html macro. Do i need to configure html macro in code so it can display commonly?

The below are two picture of my html.The first one is the screenshot of my page.The second one is the preview page.Compared to the second one ,you can see the first one lost the style. Hope to get response from you soon.Really appreciate it.

invalid html macro.pnghtml macro.png

1 answer

0 votes
Brant Schroeder
Community Champion
November 28, 2021

@NI, Jiashun how are you adding the CSS?  Is it inclined or via style tag?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events