You are here: Re: frames are dead « HTML « IT news, forums, messages
Re: frames are dead

Posted by rf on 12/29/07 02:02

"dorayme" <doraymeRidThis@optusnet.com.au> wrote in message
news:doraymeRidThis-453A91.10514729122007@news-vip.optusnet.com.au...
> In article <eGedj.28667$CN4.23176@news-server.bigpond.net.au>,
> "rf" <rf@invalid.com> wrote:

>> Case 2. Use overflow scroll to entrap floated decendants, where one does
>> *not* specify the height or width of the container, thus allowing it to
>> grow
>> to the size of its content and where one fervently hopes there *will not*
>> be
>> any scroll bars, except in extreme circumstances.
>>
>> We would not be using case 2 if there were other more direct ways of
>> obtaining the result.
>
> There is overflow: auto and hidden and at some stage I would not
> mind you expanding on why you prefer "scroll" over "auto". But I
> guess this thread is not the right one.

Hmmm. I have absolutely no idea why I am talking about overflow: scroll. I
also have absolutely no idea why in the "other thread" I mentioned overflow:
scroll.

In all cases I mean overflow: auto; and, yes, in all my code I do in fact
use overflow: auto;. Overflow: scroll; *always* produces scroll bars which,
in establishing a new block formatting context, is neither needed nor
wanted. Overflow: auto; is the one we should be using. As stated above it
would be better if there were some more formal method of establishing the
new context, rather than a side effect of a totally unrelated property.

Must have been a brain fart during all previous posts :-)

Now, to restate my original statement in this thread: Don't be tempted to
use overflow: auto; or overflow: scroll; to emulate frames.

Yep. That's better :-)

--
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

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