Results 1 to 3 of 3
  1. #1
    3 Star Lounger MacroAlan's Avatar
    Join Date
    Feb 2003
    Location
    St Louis, Missouri, USA
    Posts
    254
    Thanks
    6
    Thanked 1 Time in 1 Post

    Printing a Web Page (XP/SP2)

    I have a page that I have been working on that I am inserting Bookmarks on the section headings, H2. In my style sheet (CSS) I have set the style to be Oblique<pre>H2
    {
    FONT-WEIGHT: bold;
    BACKGROUND: none transparent scroll repeat 0% 0%;
    MARGIN-BOTTOM: 0em;
    COLOR: blue;
    FONT-STYLE: oblique;
    FONT-FAMILY: Tahoma,Arial,Helvetica;
    }</pre>

    When I print it comes out upright, not oblique or italic. Sample of web page <pre>[/list]
    <h2 id="Policy">Policy Statement</h2>
    <div align="center"></pre>

    In an effort to correct this problem, I set a series of styles specifically for printing:<pre>@media print {
    H1 { PAGE-BREAK-BEFORE: auto; ORPHANS: 10; WIDOWS: 20; }

    H2 { PAGE-BREAK-BEFORE: auto; ORPHANS: 10; WIDOWS: 20; FONT-STYLE: italic; }
    H2 { A:NAME { FONT-STYLE: italic; } }
    }</pre>

    Any ideas what I am doing wrong?? I really need bookmarks or IDs so my table of contects works.
    Alan

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Printing a Web Page (XP/SP2)

    What platform are you using for testing? In IE6 on Windows XP Pro, Arial italic and oblique look the same in Print Preview (I didn't actually print; I looked at this long list of samples).

  3. #3
    3 Star Lounger MacroAlan's Avatar
    Join Date
    Feb 2003
    Location
    St Louis, Missouri, USA
    Posts
    254
    Thanks
    6
    Thanked 1 Time in 1 Post

    Re: Printing a Web Page (XP/SP2)

    IE6. On screen looks the same. It is printing that is giving me fits. I really want to use the H2 but we are going for <FONT SIZE="+3">.
    Alan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •