spacing on a font-size command...

liunx

Guest
Hi There.

I have a simple title for the website. look like this:
<span class="font-size: 50px;">WELCOME</span>

But for some reason I have extra space on top and bottom of the text.
how can I cancel it?

Thanks!It is style and not class.
In a span, which is an inline element, you can not control block properties. Use a block element; h1, div etc.
The space is to allow room for extended characters:
<span style="font-size:50px;">ÁÇ WELCOME</span>
 
Back
Top