ho creato una funzione per aggiungere ad un pannello che uso degli input text, il problema è che non riesco a non farli andare a capo, cioè vorrei avere ogni volta che chiamo la funzione due input text allineati sulla stessa riga
il codice è questo:
addProperty = function()
{
var input_name = document.createElement("input");
var input_type = document.createElement("input");
input_name.type="text";
input_type.type="text";
document.getElementById("PropPanel").appendChild(i nput_name);
document.getElementById("PropPanel").appendChild(i nput_type);
document.getElementById("PropPanel").appendChild(d ocument.createElement('br'));
}