Error! Failed to parse the stylesheet
Receive the above error when attempting to open one of my stylesheets. Will only open the stylesheet in "true code" view/editor.
Running RoboHelp 2020.1
This error didn't occur in RoboHelp 2019.14 New
I've identified the code that causes the error (if I remove it, the stylesheet opens in the user-friendly CSS editor):
/* SECTIONS */
.section {
clear: both;
padding: 0px;
margin: 0px;
}
/* COLUMN SETUP */
.col {
display: block;
float:left;
margin: 1% 0 1% 1.6%;
}
.col:first-child { margin-left: 0; }
/* GROUPING */
.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }
/* GRID OF THREE */
.span_3_of_3 { width: 100%; }
.span_2_of_3 { width: 66.13%; }
.span_1_of_3 { width: 32.26%; }
/* GO FULL WIDTH BELOW 480 PIXELS */
@media only screen and (max-width: 480px) {
.col { margin: 1% 0 1% 0%; }
.span_3_of_3, .span_2_of_3, .span_1_of_3 { width: 100%; }
}
I use this to generate 3-column responsive grids on "mini-home page" topics.
- I want to continue to be able to use this style.
- I want the stylesheet it's in to be visible/editable in the RH2020 user-friendly CSS editor.
- I DON'T need to be able to view or edit any part of the 3-column responsive grid styles in the user-friendly CSS editor.
Since the responsive grid style isn't used pervasively throughout my project, I suppose one option is to move the grid style out of my main CSS and into a standalone CSS that's used for just home page/mini-home page topics. However, RoboHelp 2019.14 handled this same CSS just fine, so I'd prefer to just have one CSS. With that in mind, maybe this is a bug? Thoughts?
*Edit: To be clear, the CSS functions correctly in the output (frameless) and even in the RH 2020 topic editor + preview functions (if/when the style is used in a topic). It's just the RoboHelp 2020 user-friendly CSS editor that can't function/handle it.
