[thelist] fluid valign="middle"...

Paul Backhouse paul.backhouse at 2cs.com
Thu Oct 25 03:57:09 CDT 2001

	if yo mean just slap bang in the middle of the browser window with nothng
else then try this:

<body topmargin="0" leftmargin="0" marginwidth="0" mrginheight="0">
<table border=0 cellpadding=0 cellspacing=0 width=100% height=100%>
<td align=left valign=center>

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of john corry
Sent: 25 October 2001 09:47
To: thelist at lists.evolt.org
Subject: [thelist] fluid valign="middle"...

A colleague asked:
"Is there a way to vertically center an image (in this case a flash
animation) within a viewers browser window? This is the only thing on
the page."

I told him:
Make a table with 1 row and 3 columns. Put the flash movie in the center
column and a spacer .gif with a height of about 600px in one of the other
columns. Align the table "center" and valign="middle" the cell with the
flash movie.

But that doesn't really put the movie in the middle of the browser window at
any screen res or window size. I love all the tips I hear about fluid design
but can't guess how to approach it (in a reliable, cross browser way) any
better than the solution I proposed.

How would you do it?

John Corry

For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt !

More information about the thelist mailing list