W3C home > Mailing lists > Public > www-html@w3.org > July 1998

Re: layer borders

From: Frank Boumphrey <bckman@ix.netcom.com>
Date: Wed, 8 Jul 1998 17:15:39 -0400
To: "Brian Medendorp" <medendob@lahs.losalamos.k12.nm.us>, <www-html@w3.org>
Message-ID: <01bdaab5$8e585cc0$0eaddccf@bckman.ix.netcom.com>
>The problem is that it puts in this annoying space
>between the background color and the border

This is a 'bug' with the Netscape operating system and the way it handles
flow objects. It does it for the CSS background-color property as well.


Frank Boumphrey
XML and style sheet info at Http://www.hypermedic.com/style/index.htm
Author: - Professional Style Sheets for HTML and XML http://www.wrox.com
-----Original Message-----
From: Brian Medendorp <medendob@lahs.losalamos.k12.nm.us>
To: www-html@w3.org <www-html@w3.org>
Date: Wednesday, July 08, 1998 1:41 PM
Subject: layer borders

> I am trying to make a layer that has text in it, with a backgound
>color and a border. The problem is that it puts in this annoying space
>between the background color and the border. I want the background color
>to extent to the beginning of the border, but I get this white space that
>I can't get rid of. I have tried seeting the margin and padding values,
>but they won't fix the problem. This is the code that I am using:
>  <HEAD>
>    <TITLE></TITLE>
>    <STYLE TYPE="text/css">
>      #item {
> width: 120;
> color: black;
> font-size: 12pt;
> font-weight: normal;
> font-style: normal;
> font-family: sans-serif;
> border-width: 1;
> border-color: black;
> border-style: solid;
> line-height: normal;
> background-color: gray;
>      }
>    </STYLE>
>  </HEAD>
>  <BODY BGCOLOR="white">
>    <DIV ID="item">this is a layer!</DIV>
>  </BODY>
>Can anyone tell me what I'm doing wrong?
>                                         - [3rian  :)
>"C'mon, there will be people to mock."
> -Jerry Seinfeld
Received on Wednesday, 8 July 1998 17:43:49 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:48 UTC