Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    Regular Coder
    Join Date
    May 2004
    Posts
    388
    Thanks
    73
    Thanked 0 Times in 0 Posts

    stylesheets not working

    Hello.
    I have 3 stylesheets included on a page. The first one is for media, the second is for printing and the third I just added for printing an alternate page. Since I added the 3rd sheet my second sheet no longer works. Why is that??

    <link rel="stylesheet" type="text/css" href="style.css">
    <link rel="stylesheet" type="text/css" href="print.css" media="print">
    <link rel='alternate' media='print' href="null" id='printstyle'>

    The third sheet should ONLY get called by this...
    <script type="text/javascript">
    function setPrintPage(prnThis){
    document.getElementById('printstyle').href = prnThis;
    window.print();
    }
    </script>
    Last edited by nikko50; 01-22-2005 at 04:26 PM.


 

Posting Permissions

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