Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with layers

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
I made a homepage with layers. But when I changed my resolution layerslost their primary positions. How can I prevent this.
Thanks!
 
By default Dreamweaver places layers in absolute positions, so they will not move relative to the top and left of the browser window. There should only be two ways the layers could adjust based on screen resolution:

The position is created using a css style with position:relative (not absolute) and the layer resides in a cell of a table or another part of the page which will be redrawn on resize (end of the page etc.)

You are viewing using a Netscape browser and the "commands>add/remove netscape layer fix" hasn't been applied.

If the page is live on the web somewhere we can have a look Derren
[Mediocre talent - spread really thin]
 
I suggest you use snap layers extension by project seven

Here's a description of the extension

Dynamically position layers!

Places layers on the page based on the
location of an anchor image or object.
The layers will move as the image or object location
moves... supports re-sized windows. Works in:

IE4 and up
NN4 (Image or Layer anchors only)
NN6
Opera5


Access this Action from the Behaviors Palette, Studio VII Flyout. Ranjan
:: I earn because I learn ::
 
What behavior to I choose to implement this?

Lisa
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top