CGI is a code that executes on the server. the server does not know anything about the client that submits a request unless the client tells it about itself. there is no way to find out the screen size of the client's browser unless the client side code submits a request to the CGI containing the dimentions. the client even can have no browser at all as far as the CGI script is concerned. konstantin