I\'m attempting to add this code to a dynamically created div element
style = \"width:330px;float:left;\"
The code in which creates the dy
var div = document.createElement('div'); div.setAttribute('style', 'width:330px; float:left'); div.setAttribute('class', 'well'); var label = document.createElement('label'); label.innerHTML = 'YOUR TEXT HERE'; div.appendChild(label);