Skip to main content
Daedalus321
Known Participant
June 28, 2018
Question

Color of Background versus color of Body (or div???)

  • June 28, 2018
  • 1 reply
  • 341 views

I'm not a coder.

Here’s something that’s been on my wish list for a while… If you look at the screenshot below, I want to keep the background of the body white.  (By "body", I mean the part of the canvas that has content.  (In default.css, I've set the max-width to 775px.)

But I want the background of the UNUSED part of the page to be gray (so that the page/content itself is more defined, kind of like when you view a PDF via a browser -- the page of the document itself is white, but the BACKGROUND on both sides of the page is dark gray.)

I'm not a coder.  Seems it would be via CSS code rather than HTML in Master Pages...?

I've emailed this question to a developer who does not use RoboHelp.  Her response was:

However, I haven't been able to implement this, because 1)  I cannot figure out exactly where, and in which file, to put the line about linear-gradient; and 2)  I cannot find a div.top section default.css, layout.css, or MasterThemeSchema files.

Any ideas?

Thanks much,

Mark Thiel

This topic has been closed for replies.

1 reply

Peter Grainge
Community Expert
Community Expert
June 29, 2018

I understand what you want to achieve but I doubt you will manage it in RoboHelp as it does not play nicely with div tags. I did manage it with Dreamweaver which does play nicely but even then it was not straightforward.


See www.grainge.org for free RoboHelp and Authoring information.

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Daedalus321
Known Participant
June 29, 2018

Thanks, Peter.  I figured it might be a long shot.