tags:

views:

500

answers:

4

I have a table in HTML, which works fine in 1280 by 1024 resolution. If I change the resolution, the table increases according to the resolution.

The table height is 955px, width is 701px.

Is there a way to fix table to be the same size for all resolutions?

+4  A: 

Use height and width in percentage instead of px. Using percentage will work for all higher and lower resolutions.

Samiksha
+1  A: 

When you change your resolution, the table is not changing size, the size of your pixels are relative to your screen.

jayrdub
A: 

The "same size" - what units should that size be measured in?

Daniel Earwicker
A: 

You can't probably fix the table.

But you can fix it at the monitor. Many good monitors can remember X and Y scale the user has set for each particular resolution. So you go over all resolutions you use and you adjust the scale factor so that the table maintains its constant absolute size. You can use some measurement unit like they use in schools to assure precision.

The best solution is the simpliest one, right?

User