Having trouble with absolute positioning / Z-Index with Lists and Tables in IE 6 and 7

后端 未结 5 1196
我在风中等你
我在风中等你 2021-02-20 09:24

I\'m creating a prototype of a CSS/XHTML tables-based calendar that eventually will be generated with PHP for the Simple Updates content management system. I\'ve run into a prob

5条回答
  •  心在旅途
    2021-02-20 10:10

    If you are making this table with some programming language such as PHP, .NET, etc.

    You can make something like this:

    Count the total rows of your table, then start Z-Index with the this total, then decrease the counter until the last row. Doing this, your first row will have the greatest z-index and the last row te lower.

     position relative
     nothing
    
    nothing
    position relative
    ---- Table Loop: $nZ = count($resource); foreach($resource as $line) {
    content
    $nZ--; // Decrement nZ } ----

    C ya!

提交回复
热议问题