CSS Test: @page padding on all four sides using fixed physical units


Melinda Grant, 2008/08/14 17:21

Suggested (shorter) title: “CSS Test: page padding (inches)”.

The description would be more accurate as “When printed, this content should be inside a gray box which is one inch away from the border on all sides.”

Zero the body padding and margins, else the page overflows and two pages are printed.

Tom Clancy, 2008/08/28 14:07

Done. I changed the border to blue as well.

Melinda Grant, 2008/09/23 17:22

You've got the div with the gray background but the content in a p. Replace the p's with div's.

Tom Clancy, 2008/09/25 05:35


Melinda Grant, 2008/10/28 20:11

Looks good.

You could leave a comment if you were logged in.
test/css2.1/submit/26.txt · Last modified: 2014/12/09 15:48 (external edit)
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki