Export to GitHub

dynatree - issue #492

fix for column display in IE


Posted on Aug 27, 2014 by Helpful Rabbit

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; }

Comment #1

Posted on Aug 28, 2014 by Happy Bear

(No comment was entered for this change.)

Comment #2

Posted on Mar 29, 2015 by Happy Bear

moved to GitHub: https://github.com/mar10/dynatree/issues/492

Status: Done

Labels:
Type-Defect Priority-Medium Milestone-Release1.2.x