I need to add a layer to a certain position on the page. The problem is that in each different screen resolution the layer appears is s different place.
Is there a way to fix that?

Thanks

Recommended Answers

All 2 Replies

When you use layers you can have them absolute or relative. You should check to see which it is. If it is absolute it will be the same amount of pixels from the upper left at any res. If your site is set to percentages it will seem like the layer is moving. To fix that you need to make the layer relative to something.

Ezju

"Layer" is not a standard term for web development. If you're referring to a div element, you should use the term "div" or "block-level element".

How are you positioning the element? Via CSS? Or with JavaScript?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.