W3C home > Mailing lists > Public > www-style@w3.org > April 2010

Re: [css3-page] Stability of sections of Paged Media

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 8 Apr 2010 17:35:18 -0700
Message-ID: <i2kdd0fbad1004081735pd4e0cdf6t497bf42478f7943d@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: Anne van Kesteren <annevk@opera.com>, www-style list <www-style@w3.org>
On Thu, Apr 8, 2010 at 5:15 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> On 04/08/2010 02:51 AM, Anne van Kesteren wrote:
>>
>> On Wed, 07 Apr 2010 18:51:31 +0200, Tab Atkins Jr.
>> <jackalmage@gmail.com> wrote:
>>>
>>> Second, they want to be able to clear out the browser decorations that
>>> get automatically put into the margin areas. Right now, the only way
>>> I see to do that is to use the margin areas from Paged Media and
>>> explicitly set their content to none. That is, have a setup like
>>> this:
>>>
>>> @page {
>>> @top-left-corner { content: none; }
>>> @top-left { content: none; }
>>> @top-center { content: none; }
>>> @top-right { content: none; }
>>> ... repeat 12 more times ...
>>> }
>>>
>>> This is because, theoretically, the printing information is specified
>>> in precisely that form in the UA style sheet.
>>
>> I think it would be nicer to have a simple property that you can put
>> within @page that clears the margins or hides them.
>>
>> page-margin-content:none
>
> "visibility: hidden" will work for that.

I think Anne meant one that will automagically clear out or hide *all*
the margins.  Using visibility:hidden requires just as much work as
using content:none.

~TJ
Received on Friday, 9 April 2010 00:36:11 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:26 GMT