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

Re: Defining safe areas for media devices and set top boxes

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 8 Dec 2010 15:04:57 +1300
Message-ID: <AANLkTin3dB=hSBFt+Du=4wTPDnS1Je26Xdd0J1C6KD57@mail.gmail.com>
To: Mikko Rantalainen <mikko.rantalainen@peda.net>
Cc: "www-style@w3.org" <www-style@w3.org>
On Tue, Dec 7, 2010 at 8:59 PM, Mikko Rantalainen <
mikko.rantalainen@peda.net> wrote:

> :root {
> padding: 1px 2px 3px 4px !important;
> }
>
> Where numbers 1-4 are set according to user input (using some kind of
> test image, probably).
>
> This prevents real content from ever going "under the frame" and still
> allows background to fill the screen. If an author decides to use
> negative margins for e.g. body element, the content may end up "under
> the frame", but that's expected.
>
> Do you have any examples, where a simple user style sheet such as one
> above would not be enough to fix the "my display incorrectly crops the
> content" problem?
>

A position:fixed or position:absolute element at the edge of the viewport.

Rob
-- 
"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]
Received on Wednesday, 8 December 2010 02:05:24 GMT

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