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 ...
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,Thanks; that does it. I never thought that the line round a TEXTAREA would be a border, and I never noticed that the original line vanished when I specified a different border.
better make it transparent:
@media print {
textarea {border-color:transparent;}
}
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 1,024 |
Nodes: | 10 (0 / 10) |
Uptime: | 122:36:15 |
Calls: | 13,300 |
Calls today: | 1 |
Files: | 186,574 |
D/L today: |
211 files (58,061K bytes) |
Messages: | 3,349,806 |