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

Author styles vs. browser styles

From: Eric A. Meyer <eam3@po.cwru.edu>
Date: Wed, 5 Nov 1997 14:11:22 -0500
Message-Id: <v03102800b08674dda1fa@[]>
To: www-style@w3.org
The following post excerpt comes from
comp.infosystems.www.authoring.stylesheets, and I thought it would be worth
it to ask here as well.

   ...Now, this does bring up an interesting point...  Browsers are
supposed to have internal style sheets, so to speak, for the handling of
tag display.  The author can obviously override these 'internal' styles.
So let's assume that Nav4's internal style sheet contains the declaration
'DD {margin-left: 50px;}'.  It probably isn't set to that exact value, but
work with me for a moment.  Given that assumption, which of the following
author declarations should yield a left margin of 10px?

   DD {margin-left: -40px;}
   DD {margin-left: 10px;}

In other words, should author declarations relative to the internal styles,
or should they completely override them?
   I realize that I don't know the answer, and I'm very keen to find out.

Eric A. Meyer  -  eam3@po.cwru.edu  -  http://www.cwru.edu/home/eam3.html
 Hypermedia Systems Manager
 Digital Media Services                http://www.cwru.edu/dms/dms.html
 Case Western Reserve University       http://www.cwru.edu/
Received on Wednesday, 5 November 1997 14:11:42 UTC

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