Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #31126

Re: problem with disabling div

Path csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Osmo Saarikumpu <osmo@weppipakki.com>
Newsgroups comp.lang.javascript
Subject Re: problem with disabling div
Date Sat, 20 Aug 2016 10:55:47 +0300
Organization A noiseless patient Spider
Lines 17
Message-ID <np92e2$ska$1@dont-email.me> (permalink)
References <ea5c8a11-d715-4649-a0e8-f69f9775d0b2@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Sat, 20 Aug 2016 07:55:46 -0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="81a6eb5755505c8b82db06e223d2d6a8"; logging-data="29322"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+RONVyCQSqxiQN/nYt4n1b"
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
In-Reply-To <ea5c8a11-d715-4649-a0e8-f69f9775d0b2@googlegroups.com>
Cancel-Lock sha1:PO2SXaOVD/zgLqJqJFaCDBb1fik=
Xref csiph.com comp.lang.javascript:31126

Show key headers only | View raw


On 20/08/2016 10:32, jivanmukta@poczta.onet.pl wrote:
> I want to disable attachments div when printing.

I'm probably missing something here, but I'd try:

<style type="text/css" media="print">
#attachments {display:none;}
</style>

Or, instead of the display property. use:

visibility:hidden;

if layout preservation is needed.

-- 
Best wishes, Osmo

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

problem with disabling div jivanmukta@poczta.onet.pl - 2016-08-20 00:32 -0700
  Re: problem with disabling div Osmo Saarikumpu <osmo@weppipakki.com> - 2016-08-20 10:55 +0300
    Re: problem with disabling div jivanmukta@poczta.onet.pl - 2016-08-20 02:08 -0700
    Re: problem with disabling div Jivanmukta <jivanmukta@poczta.onet.pl> - 2016-08-24 09:23 +0200
      Re: problem with disabling div "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-08-24 10:30 +0200
        Re: problem with disabling div "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-08-24 10:48 +0200
          Re: problem with disabling div Jivanmukta <jivanmukta@poczta.onet.pl> - 2016-08-24 12:32 +0200
            Re: problem with disabling div Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-08-24 19:27 +0200
        Re: problem with disabling div Jivanmukta <jivanmukta@poczta.onet.pl> - 2016-08-24 11:17 +0200
          Re: problem with disabling div "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-08-24 11:50 +0200
          Re: problem with disabling div Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-08-24 19:24 +0200
            Re: problem with disabling div John Harris <niam@jghnorth.org.uk.invalid> - 2016-08-24 20:08 +0100
              Re: problem with disabling div Andrew Poulos <ap_prog@hotmail.com> - 2016-08-25 06:47 +1000
                Re: problem with disabling div John Harris <niam@jghnorth.org.uk.invalid> - 2016-08-25 09:47 +0100
                Re: problem with disabling div Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-08-25 18:37 +0200
                Re: problem with disabling div John Harris <niam@jghnorth.org.uk.invalid> - 2016-08-26 10:46 +0100
                Re: problem with disabling div Dr J R Stockton <reply1600@merlyn.demon.co.uk.invalid> - 2016-08-25 22:46 +0100
                Re: problem with disabling div "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-08-26 12:41 +0200
                Re: problem with disabling div Dr J R Stockton <reply1600@merlyn.demon.co.uk.invalid> - 2016-08-27 21:02 +0100
                Re: problem with disabling div "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-08-28 12:07 +0200
                Re: problem with disabling div Dr J R Stockton <reply1600@merlyn.demon.co.uk.invalid> - 2016-08-29 21:39 +0100
                Re: problem with disabling div "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-08-30 10:45 +0200
                Re: problem with disabling div $Bill <news@todbe.com> - 2016-08-28 03:25 -0700

csiph-web