EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB439737: HTML Syntax with Spaces Doesn’t Work in HTML Container in MicroStrategy Web 10.10


Community Admin

• Strategy


Users can take advantage of the HTML container to insert HTML syntax with JavaScript or CSS code. However, if the syntax has spaces or indents in the HTML container like it normally do in other programming software, it will not work in presentation mode and mobile app.

SYMPTOM:
Users can take advantage of the HTML container to insert HTML syntax with JavaScript or CSS code. However, if the syntax has spaces or indents in the HTML container like it normally does in other programming software, it will not work in presentation mode and mobile app.
 
 
STEPS TO REPRODUCE 
1) Create a new RS Document in Strategy Web 10.10, insert a HTML container
2) Right mouse click on the HTML container and choose Properties and Formatting
3) Choose HTML Text in the General tab
4) Insert the following code into the HTML container, which will set the color of displayed content to red


<!DOCTYPE html>
<html>
   <head>
      <style>
         h1 {
           color:red;
        }
      </style>
   </head>
 
   <body>
       <h1>This should be RED</h1>
   </body>
</html>

5) Run this document in the presentation mode and see the HTML contents color is still black by default
 
 
CAUSE:
In the presentation mode of RS document, the HTML container cannot recognize the space and will use   instead in the HTML code.
 
WORKAROUND:
Remove all the indents and spaces in the HTML code.
 
 


Comment

0 comments

Details

Knowledge Article

Published:

March 5, 2018

Last Updated:

March 5, 2018