Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Making web pages elements Independent of Resolution of the screen?

 
Jignesh Gohel
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
using a flow layout.

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

Eric
 
Jignesh Gohel
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can anybody please help me to solve the query mentioned above???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic