- 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>
>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 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: ><HTML> > <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> ></HTML> > >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