Re: CSS for positioning
- From: dorayme <dorayme@xxxxxxxxxxxxxxx>
- Date: Wed, 12 May 2010 10:15:29 +1000
In article <MPG.2653bf526c3f48b98c2e8@xxxxxxxxxxxxxxxxxx>,
Alfred Molon <alfred_molon@xxxxxxxxx> wrote:
In article <slrnhuiouj.14q9.g.kreme@xxxxxxxxxxxxxx>, Lewis says...
Right, which means since your images are not the same shape, you will
need to have TWO divs per picture. And internal one that preserves the
SHAPE of the thumbnail, and the current external one that floats in
position and preserves the shape of your overall mosaic tile.
That would mean having a grid of items, all with the same width. What I
want however is a grid of items with variable widths and it seems that
flaot is not a good solution for this, i.e. float is not able to arrange
such thumbnails nicely.
It is if you *manage* them. I have not mentioned all the
management techniques you can bring to bear on this question. You
need to understand first how floats catch on other floats. There
is a page that tries to explain this:
<http://netweaver.com.au/floatHouse/page4.php>
Another movie using the HTML camera is owed to this site (after a
perspicacious point that was raised by rf ages ago). Maybe this
Xmas.
There are a number of ways that floats can "catch" or get blocked
in their natural tendencies. Once understood, you can arrange the
pics so that they do not "catch" and produce unsightly gaps.
Yes, if you do not want to manage things, that is understandable.
inline-block is the great alternative.
--
dorayme
.
- References:
- CSS for positioning
- From: Alfred Molon
- Re: CSS for positioning
- From: freemont
- Re: CSS for positioning
- From: freemont
- Re: CSS for positioning
- From: Alfred Molon
- Re: CSS for positioning
- From: BootNic
- Re: CSS for positioning
- From: Alfred Molon
- Re: CSS for positioning
- From: dorayme
- Re: CSS for positioning
- From: Alfred Molon
- Re: CSS for positioning
- From: Alfred Molon
- Re: CSS for positioning
- From: Alfred Molon
- CSS for positioning
- Prev by Date: Re: CSS for positioning
- Next by Date: Re: overlapping boxes
- Previous by thread: Re: CSS for positioning
- Next by thread: Re: CSS for positioning
- Index(es):
Relevant Pages
|