You are here: Re: Preventing Content Clipping if Browser Window Shrinks Vertically? « HTML « IT news, forums, messages
Re: Preventing Content Clipping if Browser Window Shrinks Vertically?

Posted by rf on 06/25/07 21:13

"Bergamot" <bergamot@visi.com> wrote in message
news:5eahd0F37d7ifU2@mid.individual.net...
> rf wrote:
>>
>> The other day he sat down at my computer and, over a nice merlot, proudly
>> showed me their new corporate web site. Probably only cost them a
>> $million
>> or so.
>>
>> I immediately fussbudgeted my font size up two notches and we admired how
>> the entire site fell totally apart.
>
> I have to wonder - now that someone in the company knows about this,
> will there be any action taken to correct it?

<checks/>

Yes, Action has been taken. They have fixed it.

The menu is now images of text [1]. These do not resize so they never wrap.

The offending escaping text is now part of a flash movie so does not resize
and so can never escape from its box. <checks further/> Well, some of the
text anyway, they only fixed the "home" page. The rest resizes into white
space as before.

[1] took me a couple of minutes to figure out how they had done this. The
XHTML is quite ordinary:

<ul id="mainnav">
<li id="navhome"><a href="/">Home</a></li>
....

It's the CSS that does the trick:

#mainnav li a
{
....
text-indent: -9999px;
}

#navhome a
{
background-image: url(/images/nav_home.gif);
width: 64px;
}

Gotta love those web dreziners.

--
Richard.

 

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

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