Previous Message
Next Message

thin line under span

Sent by Mike Soultanian on 24 October 2005 20:08


You know, one thing that did make it go away was when I set the span to 
display: block;.  I think I remember someone said it had to do with it 
being an inline element.  Shoot.. I wish I had that email...

Now, I know that I could set it to a block element, but I'd like to 
figure it out as an inline element if possible.

Mike


Christian Montoya wrote:
> On 10/21/05, Mike Soultanian [EMAIL-REMOVED]> wrote:
>> I'm messing around with css stuff and I'm trying to figure out why I'm
>> getting a 1px line under my "Spanning" text.  I think I heard a solution
>> for this a while back, but I can't remember what it was.  Any
>> suggestions would be appreciated.
>>
> 
> Looks like it could be browser defaults. If you eliminate them from
> the start, it should go away:
> 
> * { margin:0; padding:0; border:none; }
> 
> at the top of the stylesheet should take care of it.
> 
> --
> C Montoya
> rdpdesign.com ... liquid.rdpdesign.com ... montoya.rdpdesign.com
______________________________________________________________________
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

Message thread: