Click to See Complete Forum and Search --> : Can I change the bg color of layers.


Dustin
01-18-2003, 09:11 AM
I was just wondering, cuz I tried using the regular body bg code... blah, blah, blah. It didn't work, so is there a different code, or can you just not do it?

Daria
01-18-2003, 09:19 AM
<div id="Layer1" style="background-color: #990000"></div>

Dustin
01-18-2003, 02:19 PM
Thanks... also, can you put iframes in layers?

Stefan
01-18-2003, 04:56 PM
Originally posted by Dustin
Thanks... also, can you put iframes in layers?

Define what you mean by layers.

Dustin
01-18-2003, 09:14 PM
i really don't know how to explain it... i just think of it as an alternative to slicing things up.

Dustin
01-18-2003, 11:34 PM
I just read something about 'scrolling layers'
whats that?
it sounds useful.

meow
01-19-2003, 05:57 AM
I'm also confused about what people mean when they say layers. First I thought they meant Netscape's old <layer>. Then I though absolutely positioned blocks. I don't know, to me a layer is when something is on top of something else. :(

Scrolling 'layers' probably refers to "overflow: scroll":
http://www.w3.org/TR/REC-CSS2/visufx.html#overflow
or possibly 'position: fixed:
http://www.w3.org/TR/REC-CSS2/visuren.html#propdef-position