I'm not sure that even nesting tables would give the liquid layout; surely a table by definition has a hard-coded number of columns? I guess my vision is of a CSS solution that not only equals what tables can do, but betters it - by allowing the 'rows' to have a variable number of columns, according to the width of the enclosing container. I know we can do that, but only, it seems, justified left or right...
Nick ___________________________ Omnivision. Websight. http://www.omnivision.com.au/
On Monday, June 7, 2004, at 01:19 AM, Kristof Neirynck wrote:
OK, I lied. Second question: your solution is very usable; I class this as 'elegant' because all the img/caption pairs are contained in one (open-ended) list. Just what I was after. But just out of interest, do you think it's possible to go one step further, and style the list so that the number of images in a row varies as window is resized - still keeping the 'grid' centred - for a truly liquid layout?
No it can't be done without javascript. I don't have the time to work on a script for that right now.
You said you wanted something to replace *ONE* table. This does replace one table. To replace nested tables is a whole other ballgame.
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************
