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

Different display border-left-width in NN4 en MSIE4

From: Hans de Jong <hdejong@bart.nl>
Date: Thu, 30 Oct 1997 19:35:14 +0100
To: www-style@w3.org
Message-ID: <3458b5ea.33377441@mail.denhaag.bart.nl>
The display of 

<H2 STYLE="border-left-width: thin; border-style: solid">some text</H2>

differs in NN4 and MSIE4.

NN4 only sets the left border with a thin width, but MSIE4 also sets the
other sides with medium width.

The specification is not completely clear to me on this point, but one
can read it like this:
- it's necessary to use the border-style property, otherwise the border
isn't visible because of the initial value of none;
- if you use one value for the border-style property it should apply to
all four sides;
- because the initial value of border-width is medium, all the sides
without the border-width property are set to medium.
I suppose that's the way it works in MSIE4. Is this the correct
interpretation of the specification?

In NN4 it doesn't matter if you use the border-style property.
Apparently the initial value NN4 uses in this case is solid. Also it
makes no difference if you use more than one value for the border-style
property. The other sides remain without border.

| Hans de Jong
| E-mail: hdejong@bart.nl
| Handleiding HTML (Dutch HTML/CSS manual)
|   http://www.dsdelft.nl/~dejong/html
| Windows 95 Page/Handleiding Windows 95 en Internet toegang
|   http://users.bart.nl/~hdejong
Received on Thursday, 30 October 1997 13:35:40 UTC

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