By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,446 Members | 1,185 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,446 IT Pros & Developers. It's quick & easy.

Layers question

P: n/a
I'm a little new to this aspect of web design...could someone tell me what
it is I need to do to get items to display on top of one another (via
layers)? Even when I assign high z-indices to an id, it still interrupts
the flow of the page. I need it to not interrupt the flow (like it's
display is "none"), yet be visible and cover another part of the page. What
am I doing wrong?

TIA,
Aaron

Jul 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Thu, 22 Jan 2004 20:40:53 -0800, "Aaron" <ag********@comcast.net>
wrote:
I'm a little new to this aspect of web design...could someone tell me what
it is I need to do to get items to display on top of one another (via
layers)? Even when I assign high z-indices to an id, it still interrupts
the flow of the page. I need it to not interrupt the flow (like it's
display is "none"), yet be visible and cover another part of the page. What
am I doing wrong?


Assuming that what you're doing can't be adequately addressed by
background images, you need to read up a bit more of the CSS spec; the
magic spell is "absolute positioning" (section 9.6).

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #2

P: n/a
Stephen Poley wrote:
On Thu, 22 Jan 2004 20:40:53 -0800, "Aaron"
<ag********@comcast.net> wrote:
could someone tell me what it is I need to do to get items to
display on top of one another (via layers)? Even when I assign
high z-indices to an id, it still interrupts the flow of the
page. I need it to not interrupt the flow (like it's display is
"none"), yet be visible and cover another part of the page.


Assuming that what you're doing can't be adequately addressed by
background images, you need to read up a bit more of the CSS spec;
the magic spell is "absolute positioning" (section 9.6).


So this cannot be done with relative positioning? I've never tried it,
but it seems like a good way to partly overlap e.g. a heading and
subheading. Plus, absolute does remove the element from the flow,
which the op wants to avoid.

--
Brian (follow directions in my address to email me)
http://www.tsmchughs.com/

Jul 20 '05 #3

P: n/a
On Fri, 23 Jan 2004 16:23:34 GMT, Brian
<us*****@julietremblay.com.invalid-remove-this-part> wrote:
Stephen Poley wrote:
On Thu, 22 Jan 2004 20:40:53 -0800, "Aaron"
<ag********@comcast.net> wrote:
could someone tell me what it is I need to do to get items to
display on top of one another (via layers)? Even when I assign
high z-indices to an id, it still interrupts the flow of the
page. I need it to not interrupt the flow (like it's display is
"none"), yet be visible and cover another part of the page.


Assuming that what you're doing can't be adequately addressed by
background images, you need to read up a bit more of the CSS spec;
the magic spell is "absolute positioning" (section 9.6).


So this cannot be done with relative positioning? I've never tried it,
but it seems like a good way to partly overlap e.g. a heading and
subheading. Plus, absolute does remove the element from the flow,
which the op wants to avoid.


I understood that the OP *did* want to remove the element from the flow.
I guess he'll get back to us if he's still puzzled.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.