Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 195
  • Last Modified:

Layer Positioning....

I have a template that I've created in Fireworks, and need to overlay html content in layers on the page.  However, I do not want the layers to move at all.  I want them to remain in the position I place them at all times.  What should I set the position of the layer to in order to keep them in place?

Urgent question, hence the points.
0
johnson00
Asked:
johnson00
  • 2
1 Solution
 
rockmansatticCommented:
You can make them absolute..

example
<div id="Layer1" style="position:absolute; left:47px; top:21px; width:457px; height:180px; z-index:1">This layer wiil not move</div>

Let me know if this helps
Rockman
0
 
johnson00Author Commented:
Do I have to specify the dimensions when I set it to be absolute?  If so, how do I locate the exact dimensions?
0
 
rockmansatticCommented:
Yes, left:is the distance from the left side, top is from the top, height and width is just that of the layer, NOTE the width takes priority over height, so AS IS, if you put too much text in there, the height will increase.

Testing it, OR useing a GUI like dreamweaver.

Rockman
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now