Elsasoft Forums
Elsasoft Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SqlSpec
 FAQ
 Why do images not show up in the chm?
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Jesse
Forum Admin

732 Posts

Posted - Feb 16 2007 :  10:49:59 PM  Show Profile
Why can't I see background images in tables that I use in custom headers and footers?

This is because of a bug in the Microsoft HTML Help Compiler. It will automatically include images if they are referenced in an img tag, but not if they are referenced in a table tag through the background attribute. That is, this does not work for a custom header in your config file:

<SqlSpec>
  <header>
    <table background="../images/deepsea.gif">
     ...
    </table>
  </header>
</SqlSpec>

The workaround is to include an invisible img tag in your header/footer blob. It is made invisible with the style="display:none" attribute, like this:

<SqlSpec>
  <header>
    <img style="display:none" src="../images/deepsea.gif" />
    <table background="../images/deepsea.gif">
     ...
    </table>
  </header>
</SqlSpec>
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Elsasoft Forums © Elsasoft LLC Go To Top Of Page
Snitz Forums 2000