Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

HTML Macro for Confluence Server


I'm curious to find out how I can use CDNs for CSS within the HTML macro on the Confluence Server. JS features work but all styling gets removed when I publish the page, the weird thing is under preview mode it works just fine, renders the CSS properly. 

From what I can tell, due to security reasons CSS CDNs are disabled, is there anyway I can enable them or is there any alternative, including the CSS within the HTML macro makes the file too large

1 answer

0 votes

Hi @Khizer Saleem Malik , 

hm, in that situation I do recommend to find out solution without css, and do css tricks on Confluence side. 

Because it reduce infosec issue and you can control the css :) 

on confluence side, meaning the stylesheets or just within the html macro itself?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,612 views 7 30
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you