Search code examples
htmldotnetnuke

In DNN Content Editor HTML my style sheet not working when use any sysmbol like > this


In HTML For DNN When I am trying to Apply this

.overlaybox > .overlaytext {
    border: 1px solid #fff;
    padding: 40px;
    max-width: 550px;
    margin: 0 auto; }

i write in HTML viewer but it convert into this

.overlaybox > .overlaytext {
    border: 1px solid #fff;
    padding: 40px;
    max-width: 550px;
    margin: 0 auto;
}

because of this my cascading style sheet not applied for specified tag please help


Solution

  • you need to switch the html module from rich text box to basic text box. the basic text box does not HTML encode the input, that is what is happening here.