Log in

View Full Version : resolution dimensions



alexdog1805
03-03-2010, 10:05 PM
i have this web site: http://otisweb.net

what should I do with the cssof this site that the dimensions remains at their original sizes when the resolution of the monitor changes?


here is the css code: http://otisweb.net/style.css

djr33
03-04-2010, 06:57 AM
Percentages and other relative widths (like "bigger" and "smaller" for fonts and "em" for other measurements) will change based on the size of everything (probably based on the screen size).

Pixels and other 'fixed' widths (like inches, etc) will remain fixed.

That should be all you need to do.


In other words instead of writing "10%" width use "100px" width, etc.

davelf
03-04-2010, 09:40 AM
yup like djr33 said, it's more safe using px rather than %. Already test it before, it's work.

But in some condition, if you implement a Jquery tools that already has CSS inside it, may be you should check it.
Cause may be the problem is not in your CSS but in that Jquery CSS, just sharing cause i always have that problem.

alexdog1805
03-04-2010, 10:36 AM
Percentages and other relative widths (like "bigger" and "smaller" for fonts and "em" for other measurements) will change based on the size of everything (probably based on the screen size).

Pixels and other 'fixed' widths (like inches, etc) will remain fixed.

That should be all you need to do.


In other words instead of writing "10%" width use "100px" width, etc.

I made like you told and it's working...thanks man;)