Forums

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

With the HTML macro, added styles and body, preview shows well, but on save, nothing shows up?

Allie Watfa November 12, 2021

With the HTML macro, added styles and body, preview shows well, but on save, nothing shows up?

 

How to fix?

 

This is the HTML code:


<style>
body {
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}

.topnav {
overflow: hidden;
background-color: black
;
}

.topnav a {
float: left;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 20px;
}

.topnav a:hover {
background-color: grey;
color: black;
}

.topnav a.active {
background-color: red;
color: white;
}

.topnav a.nonactive {
color: white;
}
}

</style>
</head>
<body>

<div class="topnav">
<a class="active" href="#home">Overview</a>
<a class="nonactive" href="https://oneconfluence.example.com/display/NetworkEnablement/Digital+Twin+%3A+Access ">Access</a>
<a class="nonactive" href="https://oneconfluence.verizon.com/display/NetworkEnablement/Digital+Twin+%3A+FAQs ">FAQs</a>
<a class="nonactive" href="https://oneconfluence.verizon.com/display/NetworkEnablement/Digital+Twin+%3A+Quick+Tips ">Quick Tips</a>
<a class="nonactive" href="https://oneconfluence.verizon.com/display/NetworkEnablement/Digital+Twin+%3A+Support ">Support</a>

</div>

</body>

 

 

2 answers

1 accepted

1 vote
Answer accepted
Bill Bailey
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.
November 13, 2021

Well you have HTML plus CSS code. I assume you are using the HTML macro from Artemis? If so, it says the CSS only implacts content inside the macro. Is that the case here?

Their doc on settings is  here: 

https://artemis.atlassian.net/wiki/spaces/SUP/pages/410845418/HTML+Macro+Cloud+-+User+Guide 

And you would have to check with the vendor, but I think they only support inline CSS styling.

I also see that you have body tags, plus a closing head tag. Briefly looking at their docs, they are expecting your code to be surrounded by HTML tags, with no head tags.

0 votes
Allie Watfa November 14, 2021

Thanks @Bill Bailey for your reply

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events