View Full Version : Centering


co0kied0ugh
02-21-2003, 10:36 PM
I was wondering. How do you center your layout so that when the screen resolutions change the positions don't change and stay the same/adapt to new resolution.

MaGiCSuN
02-21-2003, 10:53 PM
So what you mean is you want to center your layout in every resolution? or do you wan tthe layout to be on the same position so that's it's different in every resolution?

Because with absolute position you can position something from 100pixels from top and 100pixels from the left but in 800x600 it will be more to the right then in 1024x768 because in 1024 the screen is bigger. But in all resolutions it will be 100pixels away from top and left.

Love,
Mirna

co0kied0ugh
02-22-2003, 06:36 PM
Well here's a example of what I mean. [click] (http://www33.brinkster.com/co0kied0ugh/testing/blah.html) (note text isn't suppost to be in the right spot.)

I made it so it is centered but then all the coordinations are missed up. And if I take away the centering and position it left it'll all fine. I want to be able for it to be in the center no matter what the resolution is. And when the screen size changes I want it so that they will still be in there right places.