Click to See Complete Forum and Search --> : set position of a layer


M8M8
01-08-2004, 12:59 PM
Hello!

My information is in a layer, I want that layer to be presented in the center and in the middle on the screen independent of how high resolution and how big screen the user is using.

How do I do that, I would be glad if you could give me the syntax.


Thanks for helping me!

Khalid Ali
01-08-2004, 04:31 PM
you will need to use CSS for positioning and some JavaScript to center it exactly in the middle of the screen

M8M8
01-08-2004, 04:56 PM
Originally posted by Khalid Ali
you will need to use CSS for positioning and some JavaScript to center it exactly in the middle of the screen


Hello!

Yes I know that I have to use JS, why do I have to use CSS isn't it enough with JS?

Do you have any syntax that you can share?

Thanks for helping me // Mattias

fredmv
01-08-2004, 07:14 PM
JavaScript isn't needed... Check this out: http://www.wpdfd.com/editorial/wpd0103.htm#toptip.

M8M8
01-09-2004, 01:46 AM
Originally posted by fredmv
JavaScript isn't needed... Check this out: http://www.wpdfd.com/editorial/wpd0103.htm#toptip

Thank you very much!!!

// Mattias

Khalid Ali
01-09-2004, 07:22 AM
Originally posted by fredmv
JavaScript isn't.......

True..:) ....I must be thinking of some complex way of doing it with...