> Is there any way to reduce the space above characters.
Hi Mike,
You are setting the line-height on a <span> element. Spanned elements are
inline and that is why it is ignoring line-height. Try a block element like
<div> or <p> instead. If you want the background to fit just the content,
float the block element as well:
<body>
<div id="test">Apples</div>
</body>
-------
div#test {
float: left;
background: #8888FF none repeat scroll 0%;
line-height: 1em;
}
Best regards,
Kepler Gelotte
Neighbor Webmaster, Inc.
156 Normandy Dr., Piscataway, NJ 08854
www.neighborwebmaster.com
phone/fax: (732) 302-0904
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/