In article <t%******************@news-server.bigpond.net.au>,
"Richard Formby" <ne********@barefile.com.auwrote:
dorayme wrote
yb wrote
The core of the problem is exactly what I said... I am trying to
accomplish this:
http://www.yasweb.com/ie_solution.html
How about:
<http://members.optushome.com.au/droovies/test/yb.html>
I explored this *_extensively_* a few years ago. I wanted to do the same
sort of thing the OP wants, but with captioned pictures.
My effort was almost exactly the same as yours:
http://mulubinba.com.au/chapter7.html
I decided that it was impossible to make the boxes float evenly instead of
"stacking" to the right, without making them the same height, which can't be
done in this case. I eventually convinced myself that this behaviour was "by
design" and looked real neat. Nobody at the Ski Lodge has *ever* mentioned
the matter :-)
I recall the same thing being discussed here and elsewhere many times over
the years. No solution has been put forward IIRC.
I know exactly what you mean by "I eventually convinced myself
that ..." <g>
For galleries, there are various sophistications. One was
discussed on alt.html recently (how to do a thumbnails page might
even get to be a college degree!).
Lately, I "manage" things with floating divs by carefully
arranging the contents into categories, landscapes all the same
size first (their own wrapper div), portraits to follow (ditto a
div to wrap) and misc after that.
The thumbnails are best (time consuming though) prepared to be
same size (within their groups) and captions short (why bang on
and on, the enlargement page can have the essay!) to avoid all
float "snagging" and ugly unexpected blank space.
It just goes on and on how to do this stuff. My latest is to use
an adaptation from something Jonathan Little prefers. Here is
snippet from the css of a page of mine:
div.picCaption {margin: 1em; padding: 0; float: left; text-align:
center;}
div.picCaption a {display: block; font-size: 90%;}
and the html:
<div id="landscape">
<div class="picCaption">
<a href="makeup1.jpg"><img src="thumbs/makeup1.jpg"
alt="Backstage preparations"></a>backstage preparations 1
</div>
<div class="picCaption">
<a href="makeup2.jpg" etc
</div>
etc
</div>
As for size specs for the thumbs, I tried putting them in the css
and this was so neat, you know:
img {width: 150px; height:200px;}
to save repeating in the html itself. But I think I noticed that
Win IE took no notice and sized them on the fly as if there were
no size specs and so maybe one needs to put them in the html if
one wants a big page to load gracefully with space reserved.
Sometimes I leave out the classes and pick them out in the css by
div.landscape div {...}
to further reduce so much stuff in the html. btw, I guess.
--
dorayme