Answer the question
In order to leave comments, you need to log in
How to print a specific area on an HTML page with all styles?
Good afternoon. There is the following site - postroeno.bitrixstudio24.ru/price . This site has a form with id="ajax_form"
How can I implement a print button for this particular area so that all the styles of this form and its content are saved? And there should not be any extra fields and blocks.
Decision:
@media print { /* Стиль для печати */
body{
visibility: hidden;
}
/* Блок который нужно отобразить */
.box {
visibility: visible;
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question