Friday, September 19, 2008

Div/Layer Postion absolute

If you are struggling to position a DIV into tight place and different browsers are showing it different with screen resolution changes,you can try something like

left:expression((document.body.clientWidth/2)-359);

set the last 359 according to your page and you should get great results in all resolutions in Firefox,IE and Opera

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home