2 Replies Latest reply on Aug 3, 2007 1:43 PM by Iterate Marketing

    Print CSS, PNG support and IE, need help...

    Iterate Marketing
      So I am using Script Magic's PNG support script for IE6 alongside a print-specific CSS file. This site is being managed via Drupal and calls the print-specific CSS via the following snippet:

      <style type="text/css">@import "<?php print base_path() . path_to_theme() ?>/css/print.css" print;</style>

      This particular way of including a print-specific CSS does not appear to be supported in IE 6 or 7. So I replaced it with:

      <link rel="stylesheet" type="text/css" media="print" href="/themes/ocp/css/print.css">

      Now this one is supported by all browsers however it causes the following the logo (which is absolute positioned and has a z-index of 1) to disappear when that snippet is used.

      So my dilemma is: The first way disables the print-specific CSS altogether in IE6 and IE7 and the second way breaks the site slightly in IE6. Can anyone help??

      PS Sorry but I'm working in a VPN so the site is not viewable. I can provide code snippets though!