I thought this might be a nice way of presenting my tips, notes, and warnings within my documentation.
But problems abound...
1. I cannot control the size of a bitmap .png image (background image)
2. svg works better *but* now...inexplicably, it doesn't render when published as HTML!
a) It publishes perfectly as PDF.
b) It renders in HTML preview mode but it is over-sized.
c) It previews overall-oversized in PDF.
3. The color border publishes as a different color in PDF.
4. .eps images are even worse but I don't really care about .eps (just added as an fyi)
The css...
Code: Select all
p.note_note
{
border: solid 2px #BFD62F;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-radius: 6px;
padding: 14px 45px;
mc-auto-number-format: '{b}Note: {/b}';
background-repeat: no-repeat;
background-size: 2cm 2cm;
background-image: url('../../images/icons/question_icon.svg');
color: #d84127;
background-color: #f2f2f2;
border-bottom-color: #d84127;
border-left-color: #d84127;
border-right-color: #d84127;
border-top-color: #d84127;
vertical-align: middle;
margin: 0;
width: auto;
background-position: center left;
}