You are here: Re: IE6 'hidden text' « HTML « IT news, forums, messages
Re: IE6 'hidden text'

Posted by Jukka K. Korpela on 03/23/07 11:38

Scripsit dorayme:

>> BODY { line-height: 1.2; }
>>
>> Appears to fix it.
>
> I have heard of doing this on the container in which the problem
> exists. But you are suggesting simpler, just on body no matter
> how it goes below. Most interesting and easy to remember.

Actually

* { line-height: 1.2; }

is even easier and probably safer. That way, any potentially offending
element has line-height set directly, not just via inheritance, which is -
as we know - problematic not only to most CSS authors but also to CSS
implementations.

Besides, for most fonts actually used on web pages, 1.2 is too small, but
that's a different issue. The fixing effect does not depend on the value
used, only on the setting of line-height value to _something_.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 

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

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