Print to 4x6 index card in CSS Posted April 1, 2020 Using w3css and I'm not a web developer so assume I know very little. Is there a way to print something so that it will fit a 4x6 index card? This is my code: Quote <!DOCTYPE html> <html> <title>W3.CSS</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> <body> <div class="w3-card-2 w3-margin" style="width:95%"> <div class="w3-display-container w3-text-white"> <img src="flavorCard.png" alt="Lights" style="width:100%"> <div class="w3-xxlarge w3-display-middle w3-padding">Big Text</div> <div class="w3-medium w3-display-bottomright w3-padding">small text</div> </div> </div> </div> </body> </html> When loaded in a browser it looks OK but the print preview never fits well. Either it prints partially onto a second page or it has more white space on one side. Hope my question is clear. Thanks to all,
Print to 4x6 index card
in CSS
Posted
Using w3css and I'm not a web developer so assume I know very little.
Is there a way to print something so that it will fit a 4x6 index card?
This is my code:
When loaded in a browser it looks OK but the print preview never fits well. Either it prints partially onto a second page or it has more white space on one side.
Hope my question is clear.
Thanks to all,