1.

Solve : Center a Layer?

Answer»

I have a site that is built in layers. There are two main layers (Layer 1 & Layer 3). Inside each layer the remaining layers are NESTED. What i need to do is Center layer 1 & 3 Inside the browser no MATTER what the resolution. I currently have them set at absolute positions but i need them centered and have not a clue how. Below is the code for Layer 1 & 3 RESPECTIVELY.








I am using Expression 2007 if that makes any difference

Thanks,
     Chris




You could use a dynamic SCRIPT to check the size of the window and then update the positioning of each layer. You'll need to create a JAVASCRIPT function do it.
How's your javascript skills?non existantI'm not sure how to do it without javascript. Sorry.
Find yourself some tutorials on javascript. They will prove to be useful as a website admin.



Discussion

No Comment Found