I have a general question which I did not see an answer to.
Q: Am I allowed to have custom tags in my custom CCS or am I only allowed to overwrite the styles on existing tags?
The reason I ask is
1) I have received an error at times saying "The following errors occurred: Custom css Invalid or disallowed characters in the CSS. We do not allow Javascript or other advanced CSS, just the basics." when I tried to add a custom style such as div.item-description-text {}
Am I doing something wrong or are there certain attribute / class names that can't be used?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
1. If I remember correctly description is a key word that is not allowed, but i might be wrong on that.
2. Try using
and
the wiki throws p tags around the text so they might be interfering.
They are among us!
XCom: Defiance - Campaign of the Month November 2016
The disallowed is almost certainly the word 'description' in your CSS. Its actually triggered by the word 'script' - as in deSCRIPTion.
-bort
Campaign of the Year - 2018
what Bortas said. I jumped in going, oh...i know this one!!
~Weasel0
A Parade of Black | ShadowRunHack |
Where I play with CSS code
Oh wow I never would have thought of that. Thanks!
Also thanks for the advice on using <p>. I'm so used to using <div> anymore instead of <p>