I am very new to Javascript and other web related stuff.
I am trying to align a button in a javascript file,

The button is defined in an erb file like this
<div id="button1" class="arial buttonprop ten right">CLICK ME ></div>

In another javascript file user hides and shows this button

Is it possible to allign the button to left right or center in this Javascript file.