Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #35797
| From | Gloops <gloops@zailes.invalid.org.invalid> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Control invisible but value shown? |
| Date | 2018-10-31 00:55 +0100 |
| Organization | Serveur de salon |
| Message-ID | <prar1r$trs$1@nemo.pasdenom.info> (permalink) |
| References | <6f075247-e46e-4e5e-9d9c-b00ee5a826c8@googlegroups.com> |
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
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