mar10 / dynatree

Automatically exported from code.google.com/p/dynatree
92 stars 37 forks source link

fix for column display in IE #492

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

create columns as per example (writing into several spans)
use special CSS with nth-child
does not work for current IE.

FIX:

replace by similiar CSS2 construct

use  +*  instead of nth-child
first-child +* 
first-child +* +*
etc.

tested in current IE, FF and chrome.
I think also valid for ca. IE7+:

 ul.fancytree-container span.td {
     position: absolute;
     display: inline;
     border-size: 1px;
     overflow: hidden;
     background-color: white;
  }
  ul.fancytree-container span.td:first-child {
     position: static;
          width: 150px;

  }
  ul.fancytree-container span.td:first-child +*  {
     left: 600px;
     width: 150px;
  }
  ul.fancytree-container span.td:first-child +* +* {
     left: 750px;
     width: 250px;
  }

Original issue reported on code.google.com by buech...@gmail.com on 27 Aug 2014 at 5:40

GoogleCodeExporter commented 9 years ago

Original comment by moo...@wwwendt.de on 28 Aug 2014 at 5:43

mar10 commented 9 years ago

Closing this, because it's not on my priority list. But you are free to open a pull request, of course.