Layers / Divs

L

Laurie

I was told not to use tables, use Divs (which seem to be layers?).
I do not understand the positioning of layers. For example, "relative",
relative to what? How do you make the position "relative" to say an image?
If I choose absolute and enter the pixels, by page displays incorrectly on
monitors that are not hte size of my monitor. I want to use layers/divs
because I want to use the mouse over function to display specific txt
depending on the image the users runs the mouse over.
You can get an idea
http://www.kimia.org/varieties1.htm
 
I

Ian Haynes

I was told not to use tables, use Divs (which seem to be layers?).

There can be some confusion about divs and layers. There is/was a layer tag
which was introduced by Netscape but is not in the later standards. Divs are
now often refered to as layers although very strictly, they are different.

I do not understand the positioning of layers. For example, "relative",
relative to what? How do you make the position "relative" to say an
image?
If I choose absolute and enter the pixels, by page displays incorrectly on
monitors that are not hte size of my monitor.

The following may help you with positioning:

http://www.brainjar.com/css/positioning/
http://www.barelyfitz.com/screencast/html-training/css/positioning/

This one is based on EW but has a vidoe showing the differences in
positioning

http://www.learnexpression.com/Videos/EW-08/Layers/Layers.html

If you need help with page layout you may find the tool at
http://www.inkfish.com useful

HTH
 

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