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

Re: Author styles vs. browser styles

From: Todd Fahrner <fahrner@pobox.com>
Date: Wed, 5 Nov 1997 12:50:05 -0700
Message-Id: <v03102803b0867cd0fc0f@[]>
To: "Eric A. Meyer" <eam3@po.cwru.edu>, www-style@w3.org
Eric A. Meyer wrote, at 14:11 -0500 on 5.11.97:

>    ...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's 40 px, btw: http://www.verso.com/agitprop/corestyle/base.html (It's 20
px in Mac IE3 - an anomaly)

>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;}

The latter.

> In other words, should author declarations relative to the internal
> or should they completely override them?

They override them, as author styles do to all non-!important user styles,
whether UA default or specially chosen.

Todd Fahrner
Received on Wednesday, 5 November 1997 14:46:43 UTC

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