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>
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.