Question
Printed documentation ignoring CSS attributes the Web Help picks up
My project's css file is "help_styles.css". I am revamping
the way that notes and important notes are handled in both the
online and the printed documentation. I've added the following to
the .css file:
.note {
border-top: 5px solid #900;
border-left: 1px solid #900;
border-color: #069;
background-image: url(images/note_img.png);
background-repeat: no-repeat;
background-position: 5px 1.33em;
font-family: Arial, helvetica, geneva, sans-serif;
color: #000000;
font-size: 100%;text-decoration: none;
margin: .67em 0;
padding: .33em 0 .67em 42px;
min-height: 32px;
}
.importantnote {
border-top: 5px solid #900;
border-left: 1px solid #900;
border-color: #d30;
background-image: url(images/important_note_img.png);
background-repeat: no-repeat;
background-position: 5px 1.33em;
font-family: Arial, helvetica, geneva, sans-serif;
color: #000000;
font-size: 100%;text-decoration: none;
margin: .67em 0;
padding: .33em 0 .67em 42px;
min-height: 32px;
}
When using the attached code, it's properly executed in the Web Help. The blue or red border (line) is listed, and the image is on the left. When attempting to create printed documentation in either .doc or .pdf format, the colored border and image are both removed. It doesn't matter if I use a .dot or the project's css file for the document print appearance. Web Help picks up the class, Printed Docs ignore the class. Both pick up the rest of the HTML, including the paragraph tag. I've tried changing the image to .png, .gif, and .jpg to no avail.
.note {
border-top: 5px solid #900;
border-left: 1px solid #900;
border-color: #069;
background-image: url(images/note_img.png);
background-repeat: no-repeat;
background-position: 5px 1.33em;
font-family: Arial, helvetica, geneva, sans-serif;
color: #000000;
font-size: 100%;text-decoration: none;
margin: .67em 0;
padding: .33em 0 .67em 42px;
min-height: 32px;
}
.importantnote {
border-top: 5px solid #900;
border-left: 1px solid #900;
border-color: #d30;
background-image: url(images/important_note_img.png);
background-repeat: no-repeat;
background-position: 5px 1.33em;
font-family: Arial, helvetica, geneva, sans-serif;
color: #000000;
font-size: 100%;text-decoration: none;
margin: .67em 0;
padding: .33em 0 .67em 42px;
min-height: 32px;
}
When using the attached code, it's properly executed in the Web Help. The blue or red border (line) is listed, and the image is on the left. When attempting to create printed documentation in either .doc or .pdf format, the colored border and image are both removed. It doesn't matter if I use a .dot or the project's css file for the document print appearance. Web Help picks up the class, Printed Docs ignore the class. Both pick up the rest of the HTML, including the paragraph tag. I've tried changing the image to .png, .gif, and .jpg to no avail.
