On Thu, 11 Sep 2003 16:06:43 -0700, "Dean J. Garrett"
<de***********@yahoo.com> wrote:
A good example, of what I'm talking about is amazon.com. I try their site at
various resolutions, and each time the site utilizes the screen completely.
Do they use css for this, or?
Thanks!!
"Dean J. Garrett" <de***********@yahoo.com> wrote in message
news:#U**************@TK2MSFTNGP11.phx.gbl... Has anyone developed a web page that automatically senses the screen
resolution of the incoming browser and dynamically resizes content
accordingly? For instance, an 800x600 resolution user might see 3 columns
of product thumbnail images, whereas a 1024x768 user would see 4 columns. Of
course, the thumbs are data-driven. Is this possible and/or advisable??
What you are looking at on Amazon is a table (in a simplistic view)
with 3 columns. The table is set to use 100% of the available width.
The first and third columns have a set width and the middle column is
allowed to fill the rest by not having a width set.
<table width=100%>
<tr>
<td width=200>left</td>
<td>
Middle fills up with this text
Middle fills up with this text
Middle fills up with this text
Middle fills up with this text
Middle fills up with this text
Middle fills up with this text
Middle fills up with this text
Middle fills up with this text
Middle fills up with this text
Middle fills up with this text
</td>
<td width=200>right</td>
</tr>
</table>