Hello and welcome to our community! Is this your first visit?
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
    Thanked 0 Times in 0 Posts

    stylesheets not working

    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;
    Last edited by nikko50; 01-22-2005 at 05: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