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

layer borders

From: Brian Medendorp <medendob@lahs.losalamos.k12.nm.us>
Date: Wed, 8 Jul 1998 11:26:33 -0600 (MDT)
To: www-html@w3.org
Message-ID: <Pine.SGI.3.96.980708111926.24026A-100000@lahs.losalamos.k12.nm.us>
	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:
    <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;
  <BODY BGCOLOR="white">
    <DIV ID="item">this is a layer!</DIV>

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 13:25:58 UTC

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