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


Groups > comp.lang.javascript > #35797

Re: Control invisible but value shown?

Path csiph.com!usenet.pasdenom.info!.POSTED.92.184.104.70!not-for-mail
From Gloops <gloops@zailes.invalid.org.invalid>
Newsgroups comp.lang.javascript
Subject Re: Control invisible but value shown?
Date Wed, 31 Oct 2018 00:55:38 +0100
Organization Serveur de salon
Message-ID <prar1r$trs$1@nemo.pasdenom.info> (permalink)
References <6f075247-e46e-4e5e-9d9c-b00ee5a826c8@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Tue, 30 Oct 2018 23:55:40 -0000 (UTC)
Injection-Info nemo.pasdenom.info; posting-account="gloops"; posting-host="92.184.104.70"; logging-data="30588"; mail-complaints-to="abuse@pasdenom.info"
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
In-Reply-To <6f075247-e46e-4e5e-9d9c-b00ee5a826c8@googlegroups.com>
Content-Language en-GB
Xref csiph.com comp.lang.javascript:35797

Show key headers only | View raw


On Tue, 30 Oct 2018 16:35:06 -0700 (PDT), Dr J R Stockton wrote :
> Is it possible to style an element so that its data always shows but its skeleton does not print?
> 
> A page shows on-screen a TEXTAREA with text inside and an added red border, but I want the printout to show only the value part of the element, not the native edge and slider (skeleton) of the TEXTAREA (and not the red border).
> 
> I eliminate the red border from the printout by creating it transparent in the HTML and using an "@media screen red" class in the CSS.
> 
> If the skeleton can be made invisible for a TEXTAREA I would hope that it can be done likewise with other elements such as INPUT and OUTPUT ...
> 

Hello,

Well, you want to print it with no border ?

<style>
input{
    border:none;
}
</style>

Of course you put that in @media print



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


Thread

Control invisible but value shown? Dr J R Stockton <J.R.Stockton@physics.org> - 2018-10-30 16:35 -0700
  Re: Control invisible but value shown? Gloops <gloops@zailes.invalid.org.invalid> - 2018-10-31 00:55 +0100
    Re: Control invisible but value shown? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-10-31 10:08 +0100
      Re: Control invisible but value shown? Dr J R Stockton <J.R.Stockton@physics.org> - 2018-10-31 10:23 -0700

csiph-web