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


Groups > comp.lang.javascript > #35796

Control invisible but value shown?

Newsgroups comp.lang.javascript
Date 2018-10-30 16:35 -0700
Message-ID <6f075247-e46e-4e5e-9d9c-b00ee5a826c8@googlegroups.com> (permalink)
Subject Control invisible but value shown?
From Dr J R Stockton <J.R.Stockton@physics.org>

Show all headers | View raw


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 ...

-- 
  (c) John Stockton, near London, UK.  Using Google Groups.           |
 Mail: J.R.""""""""@physics.org - or as Reply-To, if any.             |

Back to comp.lang.javascript | Previous | Next — 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