SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2004
    Location
    berlin
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    printing a specific layer? can that be done?

    hey folks,

    i have a layer based website where one layer is holding all the copy and images... depending on the length a div based scrollbar appears and the user can move the content layer up/down...

    now i was wondering if it would be possible to include a print button which would ONLY print out the content within the content layer...

    is that possible at all?

    thanks,
    chris

  2. #2
    SitePoint Member
    Join Date
    Dec 2004
    Location
    xi'an,china
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <style type="text/css" media="print">
    #realPrint {display:block;}
    .noPrint {display:none;}
    </style>

  3. #3
    SitePoint Enthusiast
    Join Date
    Nov 2004
    Location
    berlin
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ah ok,

    i have played a little bit with setting the ccs files to print... i have experienced though that if things work than it's likely to only work using IE while within NS it fails... is it even possible to getting things work on both at all?

    thanks,
    chris


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
  •