Re: Mangled CSS

David Perrell (
Sun, 31 Aug 1997 15:59:55 -0700

Message-Id: <>
From: "David Perrell" <>
To: "Rob" <>, <>
Date: Sun, 31 Aug 1997 15:59:55 -0700
Subject: Re: Mangled CSS

Rob wrote:
> If I do the following:
>   #bordered {
>     border-top-width: thin;
>     border-bottom-width: thin;
>     border-style: double;
>   } 
> Netscape Navigator will only show top and bottom borders and render 
> them as double lines.  MSIE 3 doesn't show them (which is tolerable) 
> and MSIE 4pp2 renders borders on all four sides, and renders 
> mangled-looking lines to boot.

NN almost has it right, but not quite. If you then do this markup:

  <H1 ID=bordered>Where do the rules start and stop?</H1>

the borders should extend the full width of the H1 element -- between
the inside edges of the margins.

If you only want the rules to extend the width of the text, you need to
use SPAN to enclose the text you want to have borders. Unfortunately,
NN won't allow this as it wrongly inserts line breaks before and after
the SPAN.

It sounds like IE4 is still a long way from full CSS1 support (note
though, that 'core' CSS1 doesn't require support of double borders).
Did you
try this:

  #bordered {
    border: 0;
    border-top: thin double;
    border-bottom: thin double

? It's valid, but doesn't work in NN.

David Perrell