style
This commit is contained in:
parent
5bdff50f37
commit
160017eaed
|
@ -43,7 +43,7 @@ Il doit retourner la position des navires.
|
||||||
Vous retournez un tableau JSON ayant autant d'enregistrement que de navires.
|
Vous retournez un tableau JSON ayant autant d'enregistrement que de navires.
|
||||||
Chaque navire est défini par les coordonnées de ses extrémités.
|
Chaque navire est défini par les coordonnées de ses extrémités.
|
||||||
|
|
||||||
<table class="battleshipGrid" id="tbl1">
|
<table class="battleshipGrid nofloat" id="tbl1">
|
||||||
<tr><td></td><td>0</td><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td><td>7</td><td>8</td><td>9</td></tr>
|
<tr><td></td><td>0</td><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td><td>7</td><td>8</td><td>9</td></tr>
|
||||||
<tr><td>0</td><td class="empty" id="bot1-0-0"></td><td class="empty" id="bot1-0-1"></td><td class="empty" id="bot1-0-2"></td><td class="empty" id="bot1-0-3"></td><td class="empty" id="bot1-0-4"></td><td class="empty" id="bot1-0-5"></td><td class="empty" id="bot1-0-6"></td><td class="empty" id="bot1-0-7"></td><td class="empty" id="bot1-0-8"></td><td class="empty" id="bot1-0-9"></td></tr>
|
<tr><td>0</td><td class="empty" id="bot1-0-0"></td><td class="empty" id="bot1-0-1"></td><td class="empty" id="bot1-0-2"></td><td class="empty" id="bot1-0-3"></td><td class="empty" id="bot1-0-4"></td><td class="empty" id="bot1-0-5"></td><td class="empty" id="bot1-0-6"></td><td class="empty" id="bot1-0-7"></td><td class="empty" id="bot1-0-8"></td><td class="empty" id="bot1-0-9"></td></tr>
|
||||||
<tr><td>1</td><td class="empty" id="bot1-1-0"></td><td class="empty" id="bot1-1-1"></td><td class="empty" id="bot1-1-2"></td><td class="empty" id="bot1-1-3"></td><td class="empty" id="bot1-1-4"></td><td class="empty" id="bot1-1-5"></td><td class="empty" id="bot1-1-6"></td><td class="empty" id="bot1-1-7"></td><td class="empty" id="bot1-1-8"></td><td class="empty" id="bot1-1-9"></td></tr>
|
<tr><td>1</td><td class="empty" id="bot1-1-0"></td><td class="empty" id="bot1-1-1"></td><td class="empty" id="bot1-1-2"></td><td class="empty" id="bot1-1-3"></td><td class="empty" id="bot1-1-4"></td><td class="empty" id="bot1-1-5"></td><td class="empty" id="bot1-1-6"></td><td class="empty" id="bot1-1-7"></td><td class="empty" id="bot1-1-8"></td><td class="empty" id="bot1-1-9"></td></tr>
|
||||||
|
|
|
@ -3,6 +3,7 @@ article p label {float:left; text-align:right; width:60%}
|
||||||
article p select {}
|
article p select {}
|
||||||
td{min-width: 15px; height: 15px;}
|
td{min-width: 15px; height: 15px;}
|
||||||
.battleshipGrid{float: left; border-collapse:collapse; margin: 20px 20px 20px 20px;}
|
.battleshipGrid{float: left; border-collapse:collapse; margin: 20px 20px 20px 20px;}
|
||||||
|
.nofloat{float: none;}
|
||||||
.battleshipGrid tr{}
|
.battleshipGrid tr{}
|
||||||
.battleshipGrid tr td{border: 1px dashed green;}
|
.battleshipGrid tr td{border: 1px dashed green;}
|
||||||
.battleshipGrid tr th{text-align: center;}
|
.battleshipGrid tr th{text-align: center;}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user