• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

suppress CSS & scripts from XHTML output?

Contributor ,
May 25, 2012 May 25, 2012

Copy link to clipboard

Copied

Is there some way to suppress the following in RoboHelp 9's XHTML output?

<style type="text/css">

/*<![CDATA[*/

body {

        background-color: #ffffff;

}

A:visited {

        color: #006699;

}

A:active {

        color: #FFCC00;

}

A:link {

        color: #006699;

}

/*]]>*/

</style>

<style type="text/css">

/*<![CDATA[*/

table.whs1 {

        width: 500px;

}

tr.whs2 {

        vertical-align: top;

        text-align: left;

}

th.whs3 {

        vertical-align: top;

        text-align: left;

        width: 30%;

        padding-left: 1px;

        padding-top: 1px;

        padding-right: 1px;

        padding-bottom: 1px;

}

th.whs4 {

        width: 70%;

        padding-left: 1px;

        padding-top: 1px;

        padding-right: 1px;

        padding-bottom: 1px;

}

td.whs5 {

        padding-left: 1px;

        padding-top: 1px;

        padding-right: 1px;

        padding-bottom: 1px;

}

/*]]>*/

</style>

<style type="text/css">

/*<![CDATA[*/

div.WebHelpPopupMenu {

        position: absolute;

        left: 0px;

        top: 0px;

        z-index: 4;

        visibility: hidden;

}

/*]]>*/

</style>

<script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">

//<![CDATA[

<!--

if (navigator.appName !="Netscape")

{   document.write("<link rel='stylesheet' href='SentrionStyle.css'>");}

//-->

//]]>

</script>

<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">

//<![CDATA[

<!--

function reDo() {

  if (innerWidth != origWidth || innerHeight != origHeight)

     location.reload();

}

if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {

        origWidth = innerWidth;

        origHeight = innerHeight;

        onresize = reDo;

}

onerror = null;

//-->

//]]>

</script>

Views

1.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
May 30, 2012 May 30, 2012

Copy link to clipboard

Copied

LATEST

This is invalid XHTML: <script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">

The script element has no title attribute:

http://www.w3.org/TR/2002/WD-xhtml2-20020805/mod-scripting.html#sec_18.2.

This causes problems when importing into FrameMaker:

http://forums.adobe.com/message/4450794

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp