W3C home > Mailing lists > Public > www-style@w3.org > January 2004

Re: Length unit relative to media width

From: Jes <jester@ti.cz>
Date: Tue, 30 Dec 2003 13:10:30 -0500 (EST)
Message-ID: <BC177E1E.1FEA%jester@ti.cz>
To: <www-style@w3.org>



Hello Mikko,
I've read your post and I thought perhaps you could have an idea for my
problem, which is in  a related topic.
the problem is this:
I have a page with about 11 images on it, and the page scrolls SIDEWAYS
instead of down (like a gallery wall, sort of).  this means each <td> is
width defined ("960" in this case, so that the images, which are 300, should
sit in middle and you can't see the next or previous image) and centered;
and the table is the defined height=100% and width=added-up values of all
the <td> put together.
Anyway the problem is that when the screen size changes (in other words the
browser size also, since it has been defined to "fill avail.screen") the
first and last pictures are no longer centered! obviously.
so: is there any way, in your opinion, to fix this?  to somehow make the
<td> widths (first and last? or maybe all of them?) relative to
screen/browser size so that then the "center" command really works for first
and last image, no matter what screen size?
PS, I have tried "valign=middle" etc.. anything obvious.  go check out what
I mean at the page in question:

http://www.nosuchpaintings.com/index1.html

if you go, remember that this page should look like this: maximized, with no
buttons, address bar, favorites, status, nothing.  just a box that fills
your screen, which means there is no scrolling up and down, just sideways.

well, I hope you understand this and have time to look at it.. if not, it's
ok, I know everyone is busy with their own stuff.. but if you have time to
check it out I really appreciate it.
take care,
Jes
Received on Monday, 5 January 2004 10:19:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:25 GMT