4 replies [Last post]
dJomp
dJomp's picture
Offline
Enthusiast
York, England
Last seen: 11 years 4 weeks ago
York, England
Joined: 2003-03-23
Posts: 422
Points: 0

Hi guys,

Have been converting from tables over the last week or so, have come to my photo page. The index is here:

http://www.djomp.f2s.com/photo.php

4 columns of thumbnails, ordered in rows.

Should I stick with tables to create this, or is there a better way?

Cheers
--dJomp

You know you're a geek when you try to shoo a fly away from the monitor with your cursor.

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 7 hours 57 min ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5054
Points: 2632

Tables or something?

Hi Djomp,
Here's an article that looks at exactly your dilemma.
http://www.alistapart.com/stories/practicalcss/

If you try it out post your site for a site check so we can have a look.

dJomp
dJomp's picture
Offline
Enthusiast
York, England
Last seen: 11 years 4 weeks ago
York, England
Joined: 2003-03-23
Posts: 422
Points: 0

Tables or something else?

Shame nothing is that simple.

In theory it's good, in practice this might happen:

http://www.djomp.f2s.com/test/float/photo.html

(if you can't see anything wrong, make sure the img with "wibble wobble" tagged on the end isn't at the end of a line)

The workaround here is obviously to set a height for each thumb box, but then you're gonna kill it for anyone that wants a large font.

Bah.

You know you're a geek when you try to shoo a fly away from the monitor with your cursor.

nexia
nexia's picture
Offline
Regular
Last seen: 11 years 4 weeks ago
Timezone: GMT-5
Joined: 2003-03-22
Posts: 42
Points: 0

Tables or something else?

as tables are made to build rows and columns, i think tables are ok on your gallery, as they do what they are supposed to do...

btw, the design of these blocks are to be made by css to be really efficiently.. Smile

good work on that gallery.. looks cool!

nexialism source of all knowledges

dJomp
dJomp's picture
Offline
Enthusiast
York, England
Last seen: 11 years 4 weeks ago
York, England
Joined: 2003-03-23
Posts: 422
Points: 0

Tables or something else?

Quite liked the idea of variable-columns though, for bigger screens there's no wasted space, but you can still see it all at 640x480. Or smaller.

Will have to leave it as tables now until I come up with something better... still at least I can get the rest of my site over to CSS now.

You know you're a geek when you try to shoo a fly away from the monitor with your cursor.