XHTML DIV layout!

While I used tables for layout it was easy for me to center page in a middle whatever resolution was.
Now to comply with XHTML Strict, I started to make layout with layers with absolute position and found out that I can center it only for a one resolution, NOT all of them!
How to solve this problem?

Ipsens
[325 byte] By [Ipsens] at [2007-11-19 23:12:09]
# 1 Re: XHTML DIV layout!
OK! I was just thinking and came to solution.

Key is in building a JavasScript script which would then manipulate absolute position of layers for each of monitor resolution from 800*600 to 1600*1200!
So it would always be centered!

Can anybody make such a script and post it here please? I skiped learning JavaScript and jumped to PHP & MySQL... LOL!

Thank you in advance!

Ipsens
Ipsens at 2007-11-8 0:40:22 >