HTML JavaScript DHTML




function alignCell(){
    var x=document.getElementById('myTable').rows[0].cells
    x[0].align="center"
}





First cell
Second cell


Third cell
Fourth cell