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

Posted by Jonathan N. Little on 03/22/07 14:44

Barry Morris wrote:
> Hello
>
> I have a cross browser problem that I hope somebody has seen and found a
> work-around:
>
> The problem is with an image aligned left the text does not show up on the
> page in IE6. The display works properly in IE7, Opera 8.53, FireFox
> 1.5.0.11 and Netscape 8.1.2.
>
> The image / text is user defined using a web content editor by people with
> limited HTML knowledge, so I would like to fix this by coding 'around' the
> user supplied code:
>

Classic IE Peekaboo bug. B*itch ain't it! Aside of El's link which has a
very good explanation of it, I stumbled upon a possible easy fix, seems
to work in all cases but time will tell. Define for IE the line-height.
The default value is 'normal' but having any numeric value for IE seems
to work, '1.2' ≈ 'normal'.

I have found just adding:

BODY { line-height: 1.2; }

Appears to fix it.


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.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

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