You are here: Re: XHTML or HTML 4 ? « HTML « IT news, forums, messages
Re: XHTML or HTML 4 ?

Posted by Spartanicus on 11/22/49 11:37

Marc <mbradshaw@beasolutions.com> wrote:

>>>>>Are you saying you don't approve of a layout with, for example with 2
>>>>><div>s where one is floated to put it along side the other?
>>>>
>>>>It's a nasty hack, drawbacks:
>>>>
>>>>a) It was never intended to be used as such, consequently usage other
>>>>than it's intended usage is fraught with issues that many authors
>>>>struggle with.
>
>What therefore would you count as its intended use? Just to align
>images within a body of text?

Inline content flowing beside and beneath a rectangular object that is
right or left aligned.

>>>>b) The CSS float rules are preposterously complex, this has resulted in
>>>>numerous browser float bugs, resulting in even more author confusion.
>>>
>>>So what would you recommend as an alternative? Absolute/Relative
>>>Positioning? Tables?
>>
>> A proper answer to that question is too big a topic for usenet.
>
>Oh I'm sure you can try to formulate a response. I'm fairly literate in
>CSS so you don't need to explain the methodology, I'm just interested in
>your opinion as to what is the best alternative to floating <div>s.

A comprehensively answer really is far too big a topic for the
transitory medium that is usenet. I'm not aware of a web resource that
explains all of it properly.

IIRC there was an url posted here not long ago pointing to an article on
floats written by a well known Mozilla guy. Someone here may remember it
and be able to point you to it, or a trawl through the group's archive
may help (I didn't read the article, but IIRC "float" was in the title
of the group's post).

--
Spartanicus

 

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

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