Jump to content
Xisto Corporation
kevinparsons

Frontpage Layers Problem css or overlapping or something problem

Recommended Posts

I am building my site with front page and I have it set up so that it stays centered and adjusts depending on the resolution you look at it (css or something like that?) and I need to overlap some flash with other elements, but when I try using layers the site gets all out of place because my page moves but my layers stay exactly in the same spot throughout the different resolutions. Does anyone know how to make the layers move with the site or if theres an easier way to get things overlapped?Thanks :rolleyes:

Share this post


Link to post
Share on other sites

The LAYER tag only uses absolute positioning so you aren't gonna be able to make it move with the rest of the content.As long as LAYER hasn?t the position attribute, if you want to use something that works like LAYER, and you want a relative positioning, try ILAYER instead.<LAYER TOP="20" LEFT="20" WIDTH="250" Z-INDEX="3"> <img src="alvarez1.jpg"></LAYER>Another option is using DIV and use relative positon, something like this, I think.<DIV STYLE="position: absolute; top:20px; left:20px; width:100px; z-index=1;"> <img src="image.jpg"></DIV>Layers are complicated, hope you?ll find the way to do it :rolleyes:

Share this post


Link to post
Share on other sites

Reason i can think of why they arent moving is probably because you dont have the position as "relative". Having it relative will move based on the size of the window. Having it absolute will mean, whatever the location was given will stay at that location no matter what.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.