This commit is contained in:
gnieark 2016-05-12 19:49:13 +02:00
parent 5999d87b28
commit dabb454310
2 changed files with 7 additions and 2 deletions

View File

@ -22,7 +22,7 @@ function connectFour(bot1,bot2,xd_check){
document.getElementById('fightResult').innerHTML = '';
//create grid
var table=createElem('table',{'class':'tabledoc'});
var table=createElem('table',{'class':'battleGrid'});
for (var i=0; i<6; i++){
var tr=createElem('tr');
for (var j=0;j<7; j++){

View File

@ -1,2 +1,7 @@
.tabledoc{border-collapse:collapse;}
.tabledoc tr td,.tabledoc tr th{border: 1px solid green; padding-left: 5px;}
.battleGrid{display:table-cell; padding-left:10px; border-collapse:collapse; margin: 20px 20px 20px 20px;}
.nofloat{float: none;}
.battleGrid tr{}
.battleGrid tr td{border: 1px dashed green; text-align: center; font-weight: bold;}