W3C home > Mailing lists > Public > www-style@w3.org > March 2009

Border and padding in paged media

From: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Date: Mon, 30 Mar 2009 23:20:35 +0200
Message-ID: <cb7bb73a0903301420s3547769cq6e0d2a02778b24e4@mail.gmail.com>
To: www-style@w3.org
Hello all,

I read in the paged media description
http://www.w3.org/TR/CSS2/page.html#page-box that border and padding
properties do not apply to pages, and I was wondering what would be
the reason for it. I can find a number of possible applications;
indeed, I came across this limitation because I was looking for a way
to draw a rather thickish border on the left and bottom margins of the
page in projection mode (I'm using Opera). So the first question is:

Of course, an alternative solution would be to draw such borders using
appropriately dimensioned, absolutely positioned divs, but (1) this
would be a horrible hack and (2) there is no way (I know of) to put
something on all pages. So the second question is: is there a way to
do (2)?

Thanks in advance for the attention,

Giuseppe "Oblomov" Bilotta
Received on Monday, 30 March 2009 21:21:14 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:25 UTC