css
This commit is contained in:
parent
5999d87b28
commit
dabb454310
|
@ -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++){
|
||||
|
|
|
@ -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;}
|
Loading…
Reference in New Issue
Block a user