I've been setting up d3.js tooltips in a standard way:
d3.select("body")
.append("div")
.attr("class", "tooltip")
.style("visibility", "visible")
.style("top", "100px")
.style("left","50px")
.text("my text");
With accompanying CSS:
.tooltip{
visibility: hidden;
position: absolute;
border: 1px solid #e3e3e3;
padding: 2px;
background:#e3e3e3;
pointer-events: none;
font-size: 1em;
color: #999999;
width: 35px;
height: 14px;
}
The frontend member of my team tells me .style() doesn't work in IE and to replace it with .attr().
This is causing a problem with my tooltips - I'm guessing because it clashes with the CSS.
I'm wondering if anyone has any solutions?