BenOne© <nosp@m.thanks.mate> wrote:
>I'm trying to create an image gallery with CSS but I can't get the thumbnai
ls to
>center horizontally as a group. The page, including css defined in the <HEA
D> is
> located at:
>http://homepages.ihug.com.au/~benst...s_problems.html
This is currently not possible with CSS, it requires support for the CSS
2.1 "inline-block" value for the "display" property. Afaik only Opera 7
supports it, but it's support is buggy.
"inline-table" is a possible alternative, but UA support is little
better (Opera 4+ and probably Safari).
You could add the borders with a graphics editor, but that would extend
the linked region to include the borders, and you'd get jpg artifacts in
the borders.
The only way to achieve this layout is to resort to using tables:
http://www.spartanicus.utvinternet.ie/test/ben.htm
--
Spartanicus
|