Jump to content

page size


user4fun

Recommended Posts

This is 8.5" x 11" ? Well, you can make the outermost container (the body even) to have CSS width:8.5in; height:11in; and make everything else in pixels.

Also, I need a button that prints the document and will not show up on the hard copy.
You can use the @media CSS rule to make the button have display:none for print.
Link to comment
Share on other sites

How can I make sure that a php page will print exactly on a standard 8.5x11 sheet of paper regardless of resolution, screen size, etc, etc.
Turn it into a PDF. PDF files were created specifically to show the exact same thing on every machine. HTML files do not do that, the way an HTML file looks is completely dependent on the client machine. There are PDF libraries that you can use for PHP.
Link to comment
Share on other sites

I dont know how to turn it into a pdf, The page will automatically generated based on the user request, it will have mostly html code ad some php.I am not so sure that I can create a php page and have it automatically tunred into a pdf.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...