You are here: Re: Photo Gallery. What is best practice? List or Divs? « HTML « IT news, forums, messages
Re: Photo Gallery. What is best practice? List or Divs?

Posted by Nico Schuyt on 10/01/58 12:01

Ed wrote:
> I know some HTML and CSS and want to use these tools, avoiding the use
> of tables, to set up a gallery of thumbnail images which I can click
> on to see the full sized image.
> From what I read here and elsewhere, there seems to be two approaches:
> One is to create a basic unordered list of thumbnails (and any
> associated text) and float these.
> The second, is to put each thumbnail within its own div (with
> associated text) and float these.
> Is there any significant advantages/disadvantages to using the list
> approach to using the div approach?

It looks like you want to use captions and (probably) different
orientations.
Best solution here is using a small floating table for each image. One row
for the image and another for the caption.
Example: http://www.hermansmith.nl/thema_reis.php
Alternatives: http://www.cs.tut.fi/~jkorpela/www/captions.html

If you have some knowledge of php, you can write a script that creates a
gallery out of the pictures in a directory.

--
Nico

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация