brucie said:
In post <
[email protected]>
Els said...
thanks. the idea was layouts not achievable with tables or i/frames.
php but you can do it with static html/css.
Yeah, I saw that after I pressed 'send' ;-)
you just change the css to
position the images where your want them. very easy with your
livearchenemyfieldsofrock.html page.
Absolute positioning. I use that on pages like
http://www.mediatech.nl/~rachel/Frameless/Rachel/index.html
but it's a lot more work than using the table, and I have to
do it on about 125 pages, and this amount is growing every
week.
Oh, and on some 600 more, but that's only a one cell table,
to center a bigger picture. All different sizes though, so I
can't use the same position for every picture.
live.html is a bit more complex
with the text below the images but you just have the image and text
within the same container and then position the container where you
want it.
Only it gets screwed up a bit, 'cause the text under the
thumbs is not always just one line... so I'd have to put the
text in a seperate container, which will have the same
accessibility effect as the table has now.
you could also use display:table and display:table-cell in
your css to mimic a table layout. it would be by far the easiest way
but not supported by IE because its shit.
Yep, but as long as 'most people' use it, and I want them to
have nice pages to look at, ...
I'm already compromising with the background-attachment.
I'll think about switching to absolute positioning instead
of tables, but I don't know. If all pages had identical
layout, it wouldn't be so bad, but they're almost all
different. Also, if I would later change the width of the
site to flexible instead of fixed, a table (if I use a
percentage for width) would distribute the thumbs evenly,
while absolute positioning would keep everything in the same
place.
Thanks for reminding me of the option, though, it gives me
something to think about.
I know tables are _supposed_ to be used only for tabular
data, but don't you agree, that in this case, using a table
would be far less work and has no difference in
accessibility compared to the positioning-through-css method?