javascript and css styling
===

Basically i just want to have padding to the left and not all around on this code:

    if (xmlhttp.readyState==4 && xmlhttp.status==200)
      {
      document.getElementById("livesearch").innerHTML=xmlhttp.responseText;
      document.getElementById("livesearch").style.border="1px solid #000";
      document.getElementById("livesearch").style.background="#FFF";
      document.getElementById("livesearch").style.padding-left="10px";    
      }

but i don't know the syntax as padding-left breaks the argument, and is there a better way to do this without using a style sheet as there are different styles depending on the if/else statements.