On 6/29/05, Doug Niven <[EMAIL PROTECTED]> wrote:
> Hello folks,
>
> There is a very nice thumbnail gallery in the More Eric Meyer on CSS book,
> which I have temporarily posted here for easy reference:
>
> http://stinkyrat.com/proj02/ch0207.html
>
> My question: Is there any way to align the thumbnails along one baseline? I
> think it's a great layout aside from the horizontal alignment, and I know of
> no solution to fix this....urgh!
>
> This is the relevant CSS:
>
> div.pic {float: left; height: 130px; width: 130px;
> padding: 15px; margin: 5px 3px;}
> div.pic img {border: 1px solid; border-color: #444 #AAA #AAA #444;}
> div.ls img {height: 96px; width: 128px; margin: 16px 0;}
> div.pt img {height: 128px; width: 96px; margin: 0 16px;}
> div.pic ul {display: none;}
>
redistribute the margins thus:
div.ls img {height: 96px; width: 128px; margin: 32px 0 0 0;}
div.pt img {height: 128px; width: 96px; margin: 0 16px;}
--
Richard Grevers
New Plymouth, New Zealand
Orphan Gmail invites free to good homes.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/