Force layers to stay in top/bottom

B

Bubbles

Helo

On my page I have one layer in the top and one layer in the bottom of the
page.
I want this to stay there if someone are resizing the window. I seems that
if I place them with top/bottom = 0 px they still wander...

And i want the layers to fill the width of the window in the browser. But
either I have to make them so big that I get a scrollbar (hate scrollbars on
the whole page...) og if I make them to fit in 800x600 pxl they get to small
if the resolution are 1024.

I'm wondering if this can be solved, or I should use frames/iframes?
 
B

Bubbles

In the top I've solved this - I'm just using av table, with 100%, margins 0
and 0 for top and left.
But I still have a problem with the bottom....
 
M

Murray

You will not be able to do this easily. Forcing anything to float at the
bottom of the browser viewport is tough to do in a reliable way.
 
B

Bubbles

Ok - but thanks anyway :) Then I use just the table on the top, and we
moderate the design a little.

Have a nice evening!

Murray skrev:
 
M

Murray

You're welcome!

--
Murray

Bubbles said:
Ok - but thanks anyway :) Then I use just the table on the top, and we
moderate the design a little.

Have a nice evening!

Murray skrev:
 

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