CSS with the plot import

I put it into a div and use inline style which works. But when i try to do it inside script, it doesn’t work(it does change the div but not the graph)

That sounds strange. Can you share a code snippet?

html>

.hello { width:"100px"; } {% for a in params2 %}
{% include a.HTMLFileName %}
{% endfor %}

This will work, but I am try to use divTag.style.width=“500px”

This http://codepen.io/etpinard/pen/qNbRrQ might answer your question.

Ah, but I actually draw plot in my python code not in js, because I need grab data from database.

Also, how to import plotly to html? Thanks