cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: [RT] the quest for the perfect template language
Date Thu, 03 Apr 2003 22:48:53 GMT
Robert Koberg wrote:

> No, it creates one long row that will wrap based on the width of the browser
> window or perhaps a container DIV, using display:inline.
> 
> .thumbnail {
> * display:inline; *
> margin:10px;
> }
> 
> Or perhaps you need to set the columns and rows per page view? If so, I
> would still use CSS for layout and limit the thumbnail count in XSL. You
> just need to know the number of thumbnails (and which ones) to show and set
> a class on a DIV that wraps all thumbnails to certain width to get the
> correct number of cols and rows. 

Ah, gotcha. Clever :)

Stefano.


Mime
View raw message