You are here: Re: Float wrap blindspot « HTML « IT news, forums, messages
Re: Float wrap blindspot

Posted by dorayme on 10/22/06 06:19

In article <57af7$453aecef$40cba7ac$13039@NAXS.COM>,
"Jonathan N. Little" <lws4art@centralva.net> wrote:

> dorayme wrote:
> > Can't quite see the analysis of why the last floated div at
> >
> > <http://members.optushome.com.au/droovies/galleryTemplate/galleryF
> > loatOddity.html>
> >
> > is not wrapping to the far left under some not unreasonable
> > browser widths on a big monitor. If you cannot see what I might
> > be puzzled by, there is a screenshot (gif'd down to show the wrap
> > I am finding odd, not for the arty effect!) at
> >
> > <http://members.optushome.com.au/droovies/galleryTemplate/floatWra
> > pPuzzle.gif>
> >
> > I am pretty sure this is "correct behaviour" but am a bit miffed
> > as to why there is room for it there rather than naturally on the
> > next line?
> >
> > It only happens at some browser widths, the effect is not
> > dependent on it being at the end.
> >
>
> It's correct, the DIV with the short caption is not as tall so can
> "catch" the next floated DIV. If you wish for all to stack nicely and
> evenly set all the DIVs to the same height. Pick a value that will
> accommodate your longest caption and the DIVs will fall on a grid.

Yes, I am sure it is correct as it behaves thus in all my
browsers. And I sort of use your sort of explanations to explain
it to myself (even to the extent of using the phrase "catching")
and yet I am still a tad puzzled. Perhaps I have some distracting
models or inappropriate ones like that floats are a bit like text
that wraps naturally, small words do not catch on big words:

<p style="font-size:150%;">This is a sentence and all the words
are floating left sort of natural like; when room runs out, the
words will wrap and go to the far left again and small words like
<span style="font-size:20%;">this</span> do make any of the
following words (which are as big as nearly all the others catch
on anythiing at all ever...</p>

It is more a problem of understanding in a less intuitive way
than a practical problem for me.

--
dorayme

 

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

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