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


Groups > comp.lang.javascript > #35798

Re: Control invisible but value shown?

Newsgroups comp.lang.javascript
Subject Re: Control invisible but value shown?
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <6f075247-e46e-4e5e-9d9c-b00ee5a826c8@googlegroups.com> <prar1r$trs$1@nemo.pasdenom.info>
Date 2018-10-31 10:08 +0100
Message-ID <XnsA98C672EDB7FBeejj99@194.109.6.166> (permalink)

Show all headers | View raw


Gloops <gloops@zailes.invalid.org.invalid> wrote on 31 Oct 2018 in
comp.lang.javascript: 

> 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

That could change the layout a bit,
better make it transparent:

@media print {
   textarea {border-color:transparent;}
}

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

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