Forum Moderators: phranque
A layer is one page (in one file) that has sections separated by layers. The layers can be on top of each other. Using JavaScript (or maybe other code) each layer can be hidden or made visible. This could be used to store many pages into one page, however the download time would be downloading content that the user may never visit. More common usage would be for mouse over effects, where long text descriptions or graphics appear elsewhere on a page when you mouse over a link.
Both have very, very useful purposes. Both have severe disadvantages. You need to be aware of disadvantages before you decide to use them.
For layers/divs, imagine a sheet of paper layed out with a collage... each piece of the collage is a separate <div>/<layer>, and you can arrange the collage pieces however you like, but they are all part of the same page.
For frames, imagine one of those hinged two-photo photo frames. The double-photo frame is your frameset file, and each photo is a separate html file being displayed in a separate frame within the frameset.
So my point is that if, as you said, "someone said they are creating a site with layers," they may actually be using <div> -- if that makes sense.
This means that the first layer called can be your content layer, which when your site gets indexed the search engine sees the content first (as opposed to navs and headers) and this can help to get you a higher ranking...