Skip to main content
Inspiring
April 1, 2009
Question

Editing whtdhtml.htm

  • April 1, 2009
  • 1 reply
  • 1220 views
I've been making a number of post-process changes to my WebHelp Pro output using the advice in Rick Stone's "Skinny on Skins". One of the changes I want to make is to add some padding down the left and across the top of the TOC pane. So, I edited the whtdhtml.htm file to look like this:

<body topmargin="26" leftmargin="20" marginwidth="0" marginheight="0" bgproperties="fixed" bgcolor="white" scroll="auto">

When I launch my Help system locally it works a treat, but when I publish it to the server the changes aren't there, even though when I open whtdhtml.htm my changes are still included.

Can anyone help me with this or suggest another way of adding padding. Also, does anyone know how to centre the TOC entries vertically against the book and page icons so that they appear exactly in the middle?

Thanks
This topic has been closed for replies.

1 reply

MergeThis
Inspiring
April 1, 2009
26 seems a bit heavy; 6pt for both left and top works nicely for me.

As to the vertical alignment, you'd accomplish this by adjusting some blank lines in the icons (maintaining, of course, the transparency). To simply add a little space between each book/topic title, you might also try another of Rick's hints on adjusting the var gsMargin= value in the whthost.js file (I'm using 2pt for this setting). This file also needs to be saved externally, for overwriting the one created in each Generate process.


Good luck,
Leon
Jop_SmithAuthor
Inspiring
April 1, 2009
I've removed the mini toolbar and want plenty of "white space" between the main toolbar and the TOC entries, but as mentioned my settings in whtdhtml.htm seem to be overlooked by RoboEngine. I've got a few other questions about tweaking the navigation pane so I've included some screenshots below:

TOC screen
Index screen
Search screen

Any help appreciated.
Jonathan

Jop_SmithAuthor
Inspiring
April 6, 2009
Quack Quack Quack!!!!

Hi all

Leon is spot on. I'm not sure if *ANY* of the information in the Skinny on Skins would apply to a "Pro" output.

Pro outputs are a totally different beast. I would compare the instructions in the Skinny file to something like an automotive manual. Perhaps you have a Ford pickup truck. The manual describes repairing the gasoline engine. But yours is diesel powered.

Cheers... Rick

Hi, some of your advice does work with WebHelp Pro, but the bits I need to tweak don't unfortunately. I've exhausted my expertise now and wondered if you could help me find a way to, a) Change the image used for a specific page, and, b) Increase the spacing at the top of the TOC?

Many thanks

Jonathan