Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Screen Resolution


Message #1 by Ankur Kalsi <AnkurK@n...> on Thu, 25 Jan 2001 16:22:44 -0800
Problem with that is, I am using an Image in the Middle data cell of the
table row and I want the first and the last cell to display a spacer image
with the background color. The Middle image already has a set width and I am
unable to put percent value in the first and last cell and get it to display
write.

AK

-----Original Message-----
From: Luke Chapman [mailto:luke@p...]
Sent: Friday, January 26, 2001 2:36 AM
To: javascript
Subject: [javascript] Re: Screen Resolution


on 26/1/01 6:43 pm, Ankur Kalsi at AnkurK@n... wrote:

> I am trying to detect the resolution of the browser so that I can adjust
the
> tables. I know how to use JavaScript function: screen.width
> 
> The problem I have is how to detect the resolution again and re-adjust my
> tables when they change the resolution of the browser (maxamize, minimize,
> etc.).
> 
> 
> 
> 
>
> 

If you use percent values in your table widths it should automatically
resize everything to the available width of your browser.


  Return to Index