Previous Message
Next Message

How to draw an empy box with a colored background

Sent by Morris, Brent on 24 August 2004 18:06


use background-color: #<hex value for color>

-----Original Message-----
From: Kevin - spymac [EMAIL-REMOVED]]
Sent: Tuesday, August 24, 2004 1:00 PM
To: CSS Discuss List
Subject: [css-d] How to draw an empy box with a colored background


Hi,

I am trying to draw an box with a colored background (do not want to use an
image file) and I am getting some unpredictable results depending on the
browser. This box is empty, as it is being used in a page legend.

The css I used is this;

..boxDisplay { 
	border: 0px solid black; 
	margin: 2px 4px 2px 0px;
	width: 10px;
	font-size:10px;
	line-height:10px; 
	height: 10px;
}

at this point I am pretty sure this is not right just not sure how to fix. 

Thanks

-Kevin Marino

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message