SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot Run2Web's Avatar
    Join Date
    Apr 2002
    Location
    Indiana
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question z-index general rule of thumb?

    Which is better for a z-index, auto or numbered? Are there specific instances when one should take precedence over another?

    Also, I am noticing that the order in which you place the DIV tags makes a difference when the CSS is turned of. Even though I thought I was design from Top-down things seem to place themselves whereever they want when css is turned off. I'm a little confused there. I have had to put things logically out of order in the web page to make things look right when css is off. Why is that?
    RUN2Web

    Has Anyone seen my Furry Little Mind?

  2. #2
    SitePoint Wizard DougBTX's Avatar
    Join Date
    Nov 2001
    Location
    Bath, UK
    Posts
    2,498
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Don't understand.

    Use z-index if you want to set one. The default is that content later in the document goes ontop of content earlier in the document. There are some cases where Mozilla does not understand this though, so if you are specifically putting content ontop of other content, then you'll want to do it explicitly.

    The order when css is off is the same order as your code.

    Douglas
    Hello World

  3. #3
    SitePoint Zealot Run2Web's Avatar
    Join Date
    Apr 2002
    Location
    Indiana
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Douglas,
    I think I am getting a better picture. I found some work arounds for making the text show up more where I want it to be when CSS is turned off.
    RUN2Web

    Has Anyone seen my Furry Little Mind?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •