Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. A problem in z-index

A problem in z-index

Scheduled Pinned Locked Moved Web Development
helpdatabase
7 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Ali Al Omairi Abu AlHassan
    wrote on last edited by
    #1

    guys; I've got a <div /> that has a z-index value of 999, but it lays over an <ol /> with z-index=1000. I just want to know what the reason can be, because this is so confusing. thanks in advance;

    Help people,so poeple can help you.

    V 1 Reply Last reply
    0
    • A Ali Al Omairi Abu AlHassan

      guys; I've got a <div /> that has a z-index value of 999, but it lays over an <ol /> with z-index=1000. I just want to know what the reason can be, because this is so confusing. thanks in advance;

      Help people,so poeple can help you.

      V Offline
      V Offline
      vbmike
      wrote on last edited by
      #2

      Without seeing your code in your css file I would guess you do not have the "position" set for the elements.

      vbmike

      A 1 Reply Last reply
      0
      • V vbmike

        Without seeing your code in your css file I would guess you do not have the "position" set for the elements.

        vbmike

        A Offline
        A Offline
        Ali Al Omairi Abu AlHassan
        wrote on last edited by
        #3

        Sir; you are right. But I had to set the position of the list to absolute because it suppose to present the dropdownlist of a combobox. what should i do to solve this case.

        Help people,so poeple can help you.

        T V 2 Replies Last reply
        0
        • A Ali Al Omairi Abu AlHassan

          Sir; you are right. But I had to set the position of the list to absolute because it suppose to present the dropdownlist of a combobox. what should i do to solve this case.

          Help people,so poeple can help you.

          T Offline
          T Offline
          thatraja
          wrote on last edited by
          #4

          Didn't he ask for code to take a look? Please update your question.

          thatraja

          FREE Code Conversion VB6 ASP VB.NET C# ASP.NET C++ JAVA PHP DELPHI ColdFusion
          HTML Marquee & its alternatives

          Nobody remains a virgin, Life screws everyone :sigh:

          A 1 Reply Last reply
          0
          • T thatraja

            Didn't he ask for code to take a look? Please update your question.

            thatraja

            FREE Code Conversion VB6 ASP VB.NET C# ASP.NET C++ JAVA PHP DELPHI ColdFusion
            HTML Marquee & its alternatives

            Nobody remains a virgin, Life screws everyone :sigh:

            A Offline
            A Offline
            Ali Al Omairi Abu AlHassan
            wrote on last edited by
            #5

            he made guess and it was rigth. So, what is the need for the code.

            Help people,so poeple can help you.

            1 Reply Last reply
            0
            • A Ali Al Omairi Abu AlHassan

              Sir; you are right. But I had to set the position of the list to absolute because it suppose to present the dropdownlist of a combobox. what should i do to solve this case.

              Help people,so poeple can help you.

              V Offline
              V Offline
              vbmike
              wrote on last edited by
              #6

              Then maybe you didn't set the position for the div? Try adjusting that to say relative to see what it does. It always helps to just experiment with css settings to see what happens. I would also suggest searching google for help on positioning as it can be confusing and hard to understand. Some elements do not respond to anything you do which would be learned in online articles.

              vbmike

              A 1 Reply Last reply
              0
              • V vbmike

                Then maybe you didn't set the position for the div? Try adjusting that to say relative to see what it does. It always helps to just experiment with css settings to see what happens. I would also suggest searching google for help on positioning as it can be confusing and hard to understand. Some elements do not respond to anything you do which would be learned in online articles.

                vbmike

                A Offline
                A Offline
                Ali Al Omairi Abu AlHassan
                wrote on last edited by
                #7

                Thank you for your assist. I just reduced the z-index value for the div element, and it worked. (I don't need all these nines, one nine would be enough :-D )

                Help people,so poeple can help you.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups