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

Re: Block-level formatting and width in Netscape 6

From: Clover Andrew <aclover@1value.com>
Date: Fri, 20 Apr 2001 15:19:27 +0200
Message-ID: <D58B0195B58937489E89124469E57CA20D4FBE@EX1.1value.com>
To: <www-style@w3.org>
Philip Hoyt <phoyt@mspect.com> wrote:

> it starts from 100% at the left edge of the div which means that
> the div would sit just outside the visible portion of the screen
> which is inconsistent with placing of background images

They're quite different cases, though: with background-position
you're setting the position of the entire background object, whereas
with 'left' you're setting the position of the left-hand edge of
the box object; you can set the right-hand edge or the width

The idea of percentages being relative to the available width
minus the width of the object being positioned might be similar to
background-positioning when background-repeat is turned off, but
it would be inconsistent with most of the rest of CSS.

> and quite useless as far as I am concerned.

That's entirely possible - I'm not sure what effect you're trying
to achieve. Personally I've met worse problems trying to design
layouts in CSS. :-(

Andrew Clover
Technical Consultant
Received on Friday, 20 April 2001 09:28:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:57 UTC