hide text from printing but keeping the space
We have in-house server which brings the records by php from mysql.
We have Dot 开发者_运维知识库matrix printer which we are using for printing on carbon less paper (2 copies:- one for official records,one for customer and one for gatekeeper).
We tried to print the content by display:none but it was removing that space from that Div.
Then we tried to print it with the white color font without display:none (we realized that print head reads everything), so it was printing the characters on the 2nd and 3rd copy.
So We want to know how can hide the text at the same time by keeping that much space blank.
Please tell how to do the same thing with border ?
thanks in advance
visibility: hidden;
makes it invisible, but leaves the space.
Check this
you can keep the div with text in one div with height and width and give style display:none
property to the div with text. this way the space will remain
精彩评论