W3C home > Mailing lists > Public > www-style@w3.org > November 1999

Conflict

From: ament <ament@xs4all.nl>
Date: Sat, 20 Nov 1999 01:34:01 +0100
Message-Id: <3.0.5.32.19991120013401.007d73e0@pop.xs4all.nl>
To: www-style@w3.org
Consider the following example document-tree:
  * HTML (margin,border,padding:0; width:auto)
    * HEAD (ignored)
    * BODY (margin,border,padding:0; width:auto)
      * P (margin,border,padding:0; text-align:center; width:500)
        * anonymous inlinebox
          * "The lazy fox jumped over the dog, or whatever.."

html.width will be viewport.width (9.1.2)
-> body.width will be viewport.width (10.3.3)
-> p.width will be viewport.width (10.3.3) (conflict!)

What should my program do to resolve the conflict?
  1) set p.margin-right to 'auto' (10.3.3)
     so scrolling will never take place, even if content exceeds viewport
   or
  2) internally adjust html.width (keeping the value on 'auto') (overriding
init-state at 9.1.2)
     so scrolling could take place when the content exceeds the viewport 

greetings,

Mark Ament
Received on Friday, 19 November 1999 19:32:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:01 GMT