layers moving with task pane

M

mafa

Hello,

When the task pane is visible and I make my webpage design, all layers/the
background move when I click the task pane to disappear and all my layers are
at the wrong position. They move back when I make the task pane appear again.
This is hard to work with. Does anyone know a solution?
 
M

Murray

You are barking up the wrong tree. It's not your layers that are moving at
all. It's your tables. Layers are absolutely positioned on the page, while
centering tables, well, they center.

The answer is that there are three ways to make this not happen (assuming
you are using layers properly in the first place - which may not be a valid
assumption) -

1. Don't use centering tables (or 100% width ones either).
2. Place your layers into relatively positioned divs that have been placed
into table cells (it almost doesn't matter which table cells you use, since
you can reposition the layers afterwards).
3. Wrap your page (including the layers) in a centering, relatively
positioned container (this will not work if your page is built with 100%
width tables).

If you get the idea that you need to know more about HTML to fix this
problem, then you are barking up the *right* tree.... 8)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top