You are here: Re: <td> and font sizes... « HTML « IT news, forums, messages
Re: <td> and font sizes...

Posted by Els on 10/24/07 09:40

jodleren wrote:

> Hi all!
>
> It it pretty simple. I have a stylesheet like:
> <STYLE TYPE="text/css">
> TABLE { font-family : "Arial", "Helvetica", "Monaco"; font-size :
> 10.0pt; text-decoration : none;}
> </STYLE>
>
> Which means that <td>Hello world!</td> I get a font size 10.

Don't use pt - those are for printing.

> But I get 3 pixels above the letters, which I'd like to reduce by one
> or two. Is there a way to do that?

I think you are seeing either the line-height on the text, or the
padding on the cells. Or both.

--
Els http://locusmeus.com/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация