Results 1 to 2 of 2

Thread: problem with print stylesheet

  1. #1
    Join Date
    Dec 2005
    Posts
    133
    Thanks
    23
    Thanked 0 Times in 0 Posts

    Default problem with print stylesheet

    Hi

    i noticed that the print stylesheet works only with the parent ID div.
    If I have a
    <div id="header">
    <div id="subheader1">subheader1</div>
    <div id="subheader2">subheader2</div>
    <div id="subheader3">subheader3</div>
    <div id="subheader3">subheader3</div>

    </div>

    i dont want the #subheader1 to be seen in my print version

    so in my print.css I add
    #subheader1{display:none}

    but it still showa the #subheader1

    what do I do wrong???

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Are you using javascript to present the parent div in the print stylesheet? Can you post a copy of the code so we can see what variables are affecting what.

Bookmarks

Posting Permissions

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