On 12/18/05, Ionize <[EMAIL PROTECTED]> wrote:
> Hey All,
>
> I am back once more having done some reading on html and CSS and I am
> looking for more information on containers and exactly what they are. Are
> they comparable to layers,

A container is anything with a default display of "block." That means
div, p, h1-h6, ul, ol, dl, table, etc. etc.

You can give them display:inline and they no longer behave like
containers. You can give a non-container display:block and it will
behave like one.

Then again, any inline element like li, img, a, span, etc. can be
thought of as a container, since you can give it padding, margin,
border etc.

> and when positioning text or images are they
> placed within that container or are they on their own seperate
> layers/containers.

They are placed within.

As for your asking about layers, every element has a z-index. By
default, elements load into their positions, and when two things
appear in the same place, that latter to load shows on top of the
former. When you modify the z-index of elements, that's the way you
can send some of them to back or front.

By modifying their positioning you can move these containers around,
and then you can think of them as layers. But they don't behave like
layers by default... a block level container behaves more like a
section than a layer.

--
--
Christian Montoya
christianmontoya.com ... rdpdesign.com ... cssliquid.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to