DH Templates

DIV layer keeps moving when i resize browser! Please Help!?

i am kind of a newbie at web design. i got this project i'm working on. i created the template in photoshop and i don't want to slice it. right now it's just a background in a html page and i want to had content ( text, images, flash) over it by using div layers. My problem is that the div layers keep moving out of place when i render a preview in the browser, and when i resize the browser they keep moving all over the place. how do i get them to stay stable in the right place i want them to! using dreamweaver, please help!

Public Comments

  1. Assuming your div was named 'background', the following css will cause it to always be in the back and stay fixed at 100%: div.background { width: 100%; height: 100%; z-index: -2; position: absolute; top: 0; left: 0; }
Powered by Yahoo! Answers