File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Making web pages elements Independent of Resolution of the screen? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Making web pages elements Independent of Resolution of the screen?" Watch "Making web pages elements Independent of Resolution of the screen?" New topic
Author

Making web pages elements Independent of Resolution of the screen?

Jignesh Gohel
Ranch Hand

Joined: Dec 28, 2004
Posts: 276
Hi,

In my web application i have arranged some elements (like image) using CSS position property: absolute value.

But when i am accessing the application from the web where the resolution of the screen is not same as of my screen there the components get displayed at different positions.

So how can i make my web pages independent of the user's screen resolution??


Thanks,
Jignesh
[ April 18, 2006: Message edited by: Bear Bibeault ]

Regards,
Jignesh

The Art Of Life Is To Know When To Be Useless And When To Be Useful - CHUANG TZU
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
using a flow layout.

That means not setting positions, uisng percentages and float:left float:right and so on.

Eric
Jignesh Gohel
Ranch Hand

Joined: Dec 28, 2004
Posts: 276
Hi,

I read about float but not able to understand it.Can anybody please make me clear how it works???

I have the following code in which my textbox & image is to be set side by side & it should remain in that position only if the resolution of the screen gets changed???



Thanks,
Jignesh
Jignesh Gohel
Ranch Hand

Joined: Dec 28, 2004
Posts: 276
Hi,

Can anybody please help me to solve the query mentioned above???
 
Consider Paul's rocket mass heater.
 
subject: Making web pages elements Independent of Resolution of the screen?
 
Similar Threads
screen resolution compatible design
Screen resolution
Dyanmic Screen Resolution in J2ME
screen resolution problem
Scale the image to fit different screen size ???