Click to See Complete Forum and Search --> : Repositioning layers


RichieRich
07-17-2003, 08:52 AM
Hello,

I'm new to web design so go easy guys....

I've have layers on my web page that are at various positions on the page. They are all positioned correctly as long as my table is aligned to the left of the screen. However, this is isn't ideal because I'd like the whole page to be centered. How can I get the layers to stay in their correct position when the user resizes his or her window......and was I wrong to use layers in the first instance...

Thanks in advance....

Rich

Khalid Ali
07-17-2003, 08:56 AM
if you use css property
text-align:center;

that should put them in center

RichieRich
07-17-2003, 09:04 AM
Tried that.

Problem is that my page is a table with a couple of layers over it. So I can center the table no problem and I can position the layers in the correct position also. the problem occurs if I resize the window. what happens then is that the table repositions in the window but the layers ( created with DIV tags ) remain in the same place. I want the layers to move with the table and so with the page.


cheers


Rich

DaveSW
07-17-2003, 11:28 AM
You could try % widths. failing that can you give us the code/url