Using Layers

A

Art

I inserted two layers into my web page and positioned them
so that they appeared correctly in my monitor. When I
looked at the web page with my laptop monitor, the layers
were not correctly placed. How do you make layers
cooperate with monitors of different resolutions? Also,
what does the "Behavior" task pane do?
 
J

Jim Buyens

-----Original Message-----
I inserted two layers into my web page and positioned
them so that they appeared correctly in my monitor. When
I looked at the web page with my laptop monitor, the
layers were not correctly placed. How do you make layers
cooperate with monitors of different resolutions?

Ah, there's the rub!

You can fix a layer in position, but if the rest of your
page adjusts to fit the browser window, the layer and the
rest of the page will be out of sync. Your alternatives
are:

1. Use absolute positioning to cement everything on the
page (and not just your layers) in place.
2. Write JavaScript that reads the position of other
elements on the page, and then moves the layers into
place.
3. Don't use layers for content that requires precise
positioning compared to other elements on the page.
Also, what does the "Behavior" task pane do?

Behaviors detect events that occur on the browser and
modify the properties of the same or different elements.
For example, a Behavior can react when the mouse passes
over a page element, and respond by making some other
element visible, or red, or positioned differently.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*========----------
|\=========------------
|| Microsoft Office FrontPage 2003 Inside Out
|| Microsoft FrontPage Version 2002 Inside Out
|| Web Database Development Step by Step .NET Edition
|| Troubleshooting Microsoft FrontPage 2002
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/=========------------
*========----------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top