Necesito que alguien me ayude, creo un td y luego le doy un ancho pero no lo toma es como si no existiera, he probado las siguientes formas
var td1 = document.createElement("TD")
td1.setAttribute("style", "width: 35px");
td1.width="35px";
td1.style.width="35px";
td1.setAttribute("width","35px");
lo más extraño es que si funciona con el heigth
td1.setAttribute("height","50px");