Skip to content Skip to sidebar Skip to footer

HTML Help Workshop: Css Gradient Vanishes

I attached a page.css (contents below) and .gif files to [Files] section of my help project and added this line into some of the html files:

Solution 1:

Add the following statement to the section of all your HTML files. This works if the HTML topic files are encapsulated in a .chm help file.

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE11"/>

e.g.:

<!DOCTYPE html>

<html>
<head>
  <title>Gradient used</title>
  <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE11">
  <link rel="stylesheet" href="page.css" type="text/css">
</head>

<body id="grad">

  <p>This is a test.</p>

  <p>And a second line.</p>

</body>
</html>

enter image description here


Post a Comment for "HTML Help Workshop: Css Gradient Vanishes"