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

Posted by Ben C on 12/28/07 22:51

On 2007-12-28, dorayme <doraymeRidThis@optusnet.com.au> wrote:
[...]
> I looked into these remarks of yours yesterday in another
> connection and I think I learnt something. I was tinkering with
> and advancing my little story telling project at
> http://netweaver.com.au/floatHouse/

One small inaccuracy or ambiguity there: you say 'there is a way to
force inline (and other) materials to clear the bottom of floats: via
the css instruction called "clear"'.

Since CSS 2.1, you can only actually set clear on block-level things
(although I think in CSS 2 you could set it on inlines). Maybe by "via"
you meant the inlines go in another block-level element on which you've
set clear, which is what the examples show, but perhaps it's not, er,
clear.

An exception is made for <br> which is display: inline and on which the
clear property does work in browsers. Although technically a violation
of CSS 2.1, it would be a bit strange to allow the HTML clear attribute
but not the CSS clear property so I think that's why they do it.

 

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

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