How can I make a custom style look the same in both printed and online?

My specs:
RH 9.0.2.271
Windows 7, 64-bit
Word 2010
The Background Info:
So I created some custom css styles to try and mimic the look of a message box in our documentation. Here's the css code:
.MsgBox {
    color: #000000;
    border-left-style: Solid;
    border-right-style: Solid;
    border-top-style: Solid;
    border-bottom-style: Solid;
    font-size: 10pt;
    background-color: #eeeeee;
    border-left-width: 4px;
    border-right-width: 4px;
    border-top-width: 4px;
    border-bottom-width: 4px;
    border-left-color: #cdcdcd;
    border-right-color: #cdcdcd;
    border-top-color: #cdcdcd;
    border-bottom-color: #cdcdcd;
    width: 350px;
    padding: 5px 5px 5px 5px;
    box-shadow: 10px 10px 5px #888888;
    margin-bottom: 7pt;
.MsgBoxTitle {
    color: #000000;
    border-left-style: Solid;
    border-right-style: Solid;
    border-top-style: Solid;
    border-bottom-style: Solid;
    font-size: 10pt;
    background-color: #cdcdcd;
    border-left-width: 4px;
    border-right-width: 4px;
    border-top-width: 4px;
    border-bottom-width: 0px;
    border-top-color: #cdcdcd;
    border-bottom-color: #cdcdcd;
    border-left-color: #cdcdcd;
    border-right-color: #cdcdcd;
    width: 350px;
    padding: 5px 5px 5px 5px;
    box-shadow: 10px 10px 5px #888888;
My HTML Code:
<div class="MsgBoxTitle">
    PC-DMIS MESSAGE:
</div>
<div class="MsgBox">
    <p>Please do the following steps in the indicated order.</p>
    <p>1. Remove the current SH-1/2/3 stylus.</p>
    <p>2. Attach the SHSP (Stylus Holder Setting Piece).</p>
    <p>3. Jog the probe to a safe location with a clear line of approach
     to the port(s) being calibrated. </p>
    <p>4. Then click OK.</p>
    <p>After you click OK the machine will begin DCC measurement.</p>
</div>
The Expected Output:
Here's how it renders in a browser (the title is MsgBoxTitle, the body is the MsgBox style). I'm happy with how it looks there, even if the box shadow doesn't always display:
The Ugly Printed Output:
And here's what it looks like in the printed output.
Ugly. Are there any tricks to get the printable (doc) output to match the online? Ideally, on the printed output, I'd like to have all the white space in my pseudo message box removed so it looks just like the online.

Hi Peter. Thanks for the reply.
I assumed that if I used the project style sheet during the export, Word would convert the style so that it looked the same as in the HTML. Is that a bad assumption? I'm currently not mapping to any template equivalent for these message box styles. I did try it as one of my attempts, but I couldn't figure it out. It never seemed to take the style in the .dot.
Anyway, if I use just 1 style, such as just the MsgBox, I obviously don't get the white paragraph between the title and message. That white paragraph comes from the first <p> tag in the MsgBox style. But I need to have the <p> tags in there because they're better for our localization process than line breaks.
I did do some tweaks that made it look better. Basically I structured it so that the MsgBoxTitle div is now inside the MsgBox div. Something like this:
<div class="MsgBox">
    <div class="MsgBoxTitle">PC-DMIS MESSAGE: </div>
    <p>Please do the following steps in the indicated order.</p>
    <p>1. Remove the current SH-1/2/3 stylus.</p>
    <p>2. Attach the SHSP (Stylus Holder Setting Piece).</p>
    <p>3. Jog the probe to a safe location with a clear line of approach
     to the port(s) being calibrated.</p>
    <p>4. Then click OK.</p>
    <p>After you click OK the machine will begin DCC measurement.</p>
</div>
And then I adjusted my styles borders, padding, and thickness. That helped it look more connected, but still doesn't look quite right:
Would love to get rid of that white space after the title.
If you have time, I would be interested in a more detailed example of how you did it.

Similar Messages

  • Everything on all the webpages are so small, and only take up half the screen. How can I make it bigger, without changing the settings on my computer and by that change the size of everything on my computer.

    Everything on all the webpages are so small, and only take up half the screen. How can I make it bigger, without changing the settings on my computer and by that change the size of everything on my computer.

    The Firefox [https://support.mozilla.com/en-US/kb/Page+Zoom Page Zoom] feature does a domain by domain level of saving the users preferred zoom level settings, there is no default Page Zoom level setting in Firefox, as with some other browsers.
    Try the Default FullZoom Level extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/6965
    Or the NoSquint extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/2592/

  • How can i give multiple paragraph styles on the same line

    i want to give different paragraph style in the same line in an indesign document. bt when i tried it, it is coming in two different line.
    actually i am doing a project in which Frame maker document is transformed into indesign document. in frame maker this is possiable, but in indesign i cannot give different paragraph style in the same line of the document.
    Is there any way to do this ????

    YaneshTyagi wrote:
    i want to give different paragraph style in the same line in an indesign document. bt when i tried it, it is coming in two different line.
    actually i am doing a project in which Frame maker document is transformed into indesign document. in frame maker this is possiable, but in indesign i cannot give different paragraph style in the same line of the document.
    Is there any way to do this ????
    Hi, Yanesh:
    Please understand, the FrameMaker feature known as a run-in paragraph, which is a paragraph with a "carriage return" but without a "line feed," HAS NO COUNTERPART in InDesign. InDesign also lacks the FrameMaker side heading feature, which is created by the combination of a reserved area in the text frame and the paragraph property to inhabit that area. FrameMaker separates paragraphs by using the larger of space below paragraph and space above paragraph, but InDesign separates paragraphs by adding the space below paragraph and the space above paragraph.
    There are several complicated manual methods of simulating these FrameMaker properties in InDesign.
    Here's a recent forum discussion of these exact issues: http://forums.adobe.com/message/3759635#3759635. The thread mentions DTP Tools' conversion tool, the MIF Filter commercial plug-in for InDesign, and discusses its shortcomings. I don't recall it mentioning in-tools.com plug-ins that can simulate side headings, like those in FrameMaker, but they don't convert FrameMaker to InDesign. 
    You can add your vote for InDesign's developers to include these FrameMaker features, and any others you'd like to see, here: wish.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • How can I make my user input on the same line as the question?

    The only way I know of doing it is
    System.out.println ("Please enter an uppercase letter of the English Alphabet: ");
              letter = dataIn.readLine ();But that makes Please enter an uppercase letter of the English Alphabet:
    **User input here, a line down**So how can I make it all fit into one line with this sort of layout:
    Please enter an uppercase letter of the English Alphabet:  **USER INPUTS HERE, SAME LINE**

    change your call from println to print.
    check the API docs for this stuff, it tells you everything you need to know.
    Good Luck
    Lee

  • How can i make 2 combo boxes as the same data source and group by each combo box items separately?

    I have 2 combo boxes  If I have data table like below
    TableA
    ID  NAME
    1     A
    2     B
    3     C
    4     A
    I make "TableA" as data source of "combobbox1" and "combobox2" like
    combobox1.datasource = TableA
    combobox1.displaymember = "ID"
    combobox2.datasource = TableA
    combobox2.displaymember = "Name"
    I want when combobox2 select index at "A"  , Combobox1 show only the items at ID = 1 And ID = 4
    Thanks 

    This is not actually a question to be posted in SQL Server. Here is a link for ASP.NET forum.
    http://forums.asp.net/
    It looks like there is a filter that can be applied in .NET dataset and populate the results in your combobox1. You may get better help from .NET forums for this question.

  • How can I make all 40 audio clips the same volume?

    Hello, all!
    I'm finishing up a General Orientation video for new employees in Yellowstone National Park and am-this-close to being finished!
    I'm creating the video in Premier Elements 9 with some video footage and some still photos blended together.  (Yes, I tried to "Ken Burns" it...  he would laugh out loud if he saw my version!)
    I've narrated most of it in individual WAV. clips that I've inserted into the audio timeline under each video segment.
    I have about 40 audio clips, and even though I used a decent microphone, I still find that each clip has a slightly different volume that is really noticeable when the video DVD plays on TV.  I'm realizing that I should have made an effort to keep a standard distance from the mic when recording.   Hindsight is 20-20.
    I have been trying to change the volume on each clip to make them all the same volume, and it's making me a little crazy.
    Is there any way for me to capture all the audio at one time and make an adjustment that would make all of them the same volume?    I tried CTL-A and then did "normalize" on it, but it seemed to make very little/or no difference when viewing.
    Any advice would be really appreciated!
    Signed, the lone creative video girl in Yellowstone.  

    You are most welcome, and it has been a great day. Thanks!
    Good luck, and pay close attention to the differences between Clip Keyframes and Track Keyframes. They accomplish the same result, but have differences.
    Good luck,
    Hunt

  • How can I get my layout to look the same across multiple browswers?

    Hello forums!  How are you guys?
    I use Dreamweaver to edit my layout for my site.  However it looks fragmented on certain browsers and perfect on others. 
    www.ifuxkswiththat.com is the site.
    Is there something that can keep this uniform amongst other browsers?
    Check it on yours...it might work for you and it might not

    Your best bet is to get it right in something like Firefox or Safari, and then use some conditional CSS to tweak it in IE browsers.
    So put things like this in your header :
    <!--[if IE 5]>
    <style type="text/css">
    /* IE 5 does not use the standard box model, so the column widths are overidden to render the page correctly. */
    #outerWrapper #contentWrapper #leftColumn1 {
      width: 16em;
    #outerWrapper #contentWrapper #rightColumn1 {
      width: 16em;
    </style>
    <![endif]-->
    You can specify the particular IE browser above or use, for example <!--[if lte IE 7]> for IE 7 and below, or <!--[if lt IE 7]> for IE 6 and below.

  • How can i split up icloud account. its the same for my wife and i but i would like 2 separate accounts. we both have iphone 4

    my wife and i both have iphone 4. they were set up with 1 icloud account. we now both have separate apple id's. I would like to set up a different icloud account on my phone with my apple id and password separate from my wife.

    Decide which iPhone will be keeping the current iCloud account.  On the one that will be changing accounts, if you have any photos in photo stream that are not in your camera roll or backed up somewhere else save these to your camera roll by opening the photo stream album in the thumbnail view, tapping Edit, then tap all the photos you want to save, tap Share and tap Save to Camera Roll.  If you are syncing Notes with iCloud, you'll also have to email your notes to yourself so they can be recreated in the new account as they cannot be migrated.
    Once this is done, go to Settings>iCloud, scroll to the bottom and tap Delete Account.  (This will only delete the account from this phone, not from iCloud.  The phone that will be keeping the account will not be effected by this.)  When prompted about what to do with the iCloud data, be sure to select Keep On My iPhone.  Next, set up a new iCloud account using a different Apple ID (if you don't have one, tap Get a Free Apple ID at the bottom).  Then turn iCloud data syncing for contacts, etc. back to On, and when prompted about merging with iCloud, choose Merge.  This will upload the data to the new account.
    Finally, to un-merge the data you will then have to go to icloud.com on your computer and sign into each iCloud account separately and manually delete the data you don't want (such as deleting your wife's data from your account, and vice versa).

  • How can I make a custom book size in iBooks Author

    How can I make a custom book size in iBooks Author?

    Book sizes (Landscape or Portrait) are fixed when using iBooks Author.
    Covers, however, can be square.

  • How can I make my BlackBerry 8800 looks like BlackBerry 8900 or Bold?

    Hi again,
         Umm.. How can I make my BlackBerry 8800 looks like BlackBerry 8900 or Bold?
              Thanks....
    Solved!
    Go to Solution.

    Hey janvaughnquero11,
    Welcome to the BlackBerry Support Community Forums.
    Thanks for the question.
    The BlackBerry 8800 smartphone has 4.2 or 4.5 software as the latest.  BlackBerry 5, 6 or 7 device software is not available for that model.  
    Let me know if you have any more questions.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • When i burn videos to a dvd-r disc it works on my macbook but not on a windows/pc or my dvd player. How can i make it work on all the above and not just a mac product?

    when i burn videos to a dvd-r disc it works on my macbook but not on a windows/pc or my dvd player. How can i make it work on all the above and not just a mac product?

    Unfortunately, the recording & movie industry does not respect the rights of the people who make them money, and thus you can only use the paid-for content in ways they see fit. Even if I lived in a bunker where no one else could possibly see the movie I paid for, therefor I'm not 'sharing it illegally', I would still not be allowed in a blue moon to copy that movie to DVD for TV viewing. Someone will tell you to get an AppleTV. How about Apple give us one for free? Until this changes, people wanting to use their content in multiple locations will continue to download music & movies via torrents, legally or illegally.

  • How can you make your persona show on the top and bottom? Also can you make it bigger at the top to show more of the picture?

    How can you make your persona show on the top and bottom?
    Also can you make it bigger at the top to show more of the picture?

    Add extra empty toolbars if you want to see more of the persona.<br />
    You can create extra toolbars to get extra space via View > Toolbars > Customize<br />
    You have to put something on a toolbar (drag a Space item onto it) before closing the Customize window because empty toolbars are automatically removed.<br />
    See http://kb.mozillazine.org/Toolbar_customization

  • How can I make a survey automatically identify the user in the results?

    How can I make a survey automatically identify the user in the results (so that it won't be anonymous)?

    I am not sure what information to provide.  Here is what I am trying to do.  I am trying to create an HR questionnaire with multiple choice questions and several multiline textboxes to capture comments.  I want to send it out by email address and/or embed the questionnaire somewhere on the company's intranet website.  But we don't want the questionnaire to be anonymous. If someone makes a particular comment, we want to be able to communicate with the person who made that particular comment.  How would we be able to trace the person? By email address, or by user ID?

  • How can I make an appointment to see the staff to repair

    How can I make an appointment to see the staff to repair

    If in US
    http://www.apple.com/retail/storelist/

  • How can I make Calen Mob pick up the right colors

    How can I make Calen Mob pick up the right colors from Google Calendar. In fact, how can I contact the developer that made Calen Mob Pro. I hear it was Blue tag but they either sold it or dropped it because they make no claim for it.  Does anyone kknow of a group calendar for IOS that will report the color choices as well as the  data? Calenmob Pro just brings in one color for every date and appt. Thanks!

    Where did you get LR2.2? The most recent public version is LR2.1!
    Try an external EXIF reader like EXIFReader.
    Don

Maybe you are looking for