hmm..i mean i need to write an application for login to an webservice where the user must login in-order to enter into the shopping cart to buy their stuff..but i need to consider about the size frame of my iPAQ. So that the webpage size is suitable for my iPAQ frame. Thanks...

1.You want to write a Web application in Python that runs somewhere on the internet that will produce a user login page to fit the iPaq screen size.

2. You want to write an application that runs on the iPaq which will access a sites login page - but not display it - it will pop up it's own login screen formatted for the iPaq and then send the data in the correct method to the web-site to continue the process.

If it's 1 I guess you need to detect the clients browser/platform being used by the normal methods. What webapplication server are you using?