W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2005

Re: CSS problem with Amaya - 9.0-pre4 Dec 15 2004

From: Irene Vatton <irene.vatton@inrialpes.fr>
Date: Tue, 11 Jan 2005 15:29:51 +0100
To: list@nawroth.com
Cc: www-amaya@w3.org
Message-Id: <20050111152951.3938d5a8.irene.vatton@inrialpes.fr>

On Sat, 01 Jan 2005 20:16:27 +0100
Anders Nawroth <list@nawroth.com> wrote:

> 
> 2. Amaya renders negative margins wrong.
> 
> Take a look at this testpage in different browsers:
> http://www.ryanbrill.com/floats.htm
> 
> This way to create columns is based upon the CSS2 standard, see:
> http://www.w3.org/TR/REC-CSS2/visuren.html#floats
> "A float can overlap other boxes in the normal flow (e.g., when a normal 
> flow box next to a float has negative margins). "
> 
> I base most of my layouts on negative margins (works in IE5+ Firefox 
> 0.7+ Opera 7+ ...).

But CSS says also that "the width property specifies the content width of boxes ..."
So Amaya cannot apply the right margin when both rules
 "width: 100%; margin-right: -210px" are defined.
It's a limitation of Amaya.

     Irene.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France
Received on Tuesday, 11 January 2005 14:30:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:43 UTC