1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    34
    Vote Rating
    1
    Dbms is on a distinguished road

      0  

    Default Answered: Z-Index?

    Answered: Z-Index?


    What exactly is the usage of z-index of a component?

  2. Hi Dbms,

    z-index refers to CSS and is actually no Sencha-specific property.
    It specifies the order of elements, when they're positioned above each other.

    Code:
    <div style="z-index: 7">element B</div>
    <div style="z-index: 9">element A</div>
    <div style="z-index: 8">element C</div>
    In this example only element A would be visible, because it covers the other two element because its z-index is greatest.

    Best regards,
    Schildi

  3. #2
    Sencha User
    Join Date
    Mar 2011
    Posts
    83
    Answers
    16
    Vote Rating
    11
    Schildi will become famous soon enough

      0  

    Default


    Hi Dbms,

    z-index refers to CSS and is actually no Sencha-specific property.
    It specifies the order of elements, when they're positioned above each other.

    Code:
    <div style="z-index: 7">element B</div>
    <div style="z-index: 9">element A</div>
    <div style="z-index: 8">element C</div>
    In this example only element A would be visible, because it covers the other two element because its z-index is greatest.

    Best regards,
    Schildi

  4. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    34
    Vote Rating
    1
    Dbms is on a distinguished road

      0  

    Default


    Thanks, I had some idea, needed a confirmation. So Thanks..

Thread Participants: 1