Click to See Complete Forum and Search --> : layers?


Sul
10-18-2003, 03:56 PM
Hi

I was wondering what layers are used for? I've read that they are used for DHTML? Can you use layers for anything else - as you use them in graphic editing programs?

Mr J
10-18-2003, 04:45 PM
In short:

Layers are created using CSS.

They allow greater control and manipulation of contents within a web page

Sul
10-18-2003, 05:24 PM
Anyone with a longer reply :) Thank you Mr J, I'll check that out as well.

MotherNatrsSon
10-18-2003, 05:32 PM
Mr. J has it prety much right on. Layers = divs. You can use CSS to do many things with them. Are you a Dreamweaver user? If so, just because Dreamweaver assigns a layer id to each DIV does not mean it is a div.

Layers are also used in some graphics programs such as Photoshop Illustrator...etc so you can stack things on top of each other or separate things from each other.

Maybe if you go to School (http://www.w3schools.com/) you can get all the definitions you are looking for. The W3C schools are a good place to start.

MNS