Re: [xsl] Generating table cells and rows

Subject: Re: [xsl] Generating table cells and rows
From: "Joris Gillis" <roac@xxxxxxxxxx>
Date: Mon, 01 Aug 2005 12:36:16 +0200
Hi,
Tempore 12:08:33, die 08/01/2005 AD, hinc in xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit Aaron Johnson <artpunx@xxxxxxxxx>:

I have a stylesheet that outputs a series of photographs from an xml list.
I would like to know if there is a way to do this with a table? Is it
possible to output 5 table cells and add another <tr> tag if required
for a second row of images?
It is possible, but why would you do it? It would be more user-friendly if the amount of images on a row was altered dynamically to fill one screen-width.

There are good examples of such images galleries with pure CSS.
e.g. http://www.brunildo.org/test/#cen
this one's particularly nice:
http://www.brunildo.org/test/ImgThumbIBL3.html

Wouldn't today be a nice to abandon table layout once and for all?


regards, -- Joris Gillis (http://users.telenet.be/root-jg/me.html) Deserta faciunt et innovationem appelant

Current Thread