Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with table cells with explicit height #6578

Open
Ms2ger opened this issue Jul 8, 2015 · 1 comment
Open

Issue with table cells with explicit height #6578

Ms2ger opened this issue Jul 8, 2015 · 1 comment

Comments

@Ms2ger
Copy link
Contributor

@Ms2ger Ms2ger commented Jul 8, 2015

CC @pcwalton, @SimonSapin

<style>
table
{
  border-collapse:collapse;
  border-spacing:0;
}

table.score-table th,
table.score-table td
{
  height:22px;
  font-size:11px;
}

table.batsmen th,
table.batsmen-career th,
table.bowlers th,
table.bowlers-career th
{
  background:#e4e4e3;
}
</style>
<table class="score-table" width="100%">
  <tr>
    <td colspan="2">
      <table class="batsmen" width="100%">
        <thead>
          <tr>
            <th class="th-batsmen">Batsmen</th>
            <th class="th-r">R</th>
            <th class="th-b">B</th>
            <th class="th-4s">4s</th>
            <th class="th-6s">6s</th>
            <th class="th-sr">SR</th>
            <th class="th-this-bowler">This bowler</th>
            <th class="th-last-10-ovs">Last 10 ovs</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td>
            Joe Root
            </td>
            <td>36</td>
            <td>27</td>
            <td>5</td>
            <td>0</td>
            <td>133.33</td>
            <td>17 (14b)</td>
            <td>36 (27b)</td>
          </tr>
          <tr>
            <td>
            Gary Ballance
            </td>
            <td>30</td>
            <td>63</td>
            <td>4</td>
            <td>0</td>
            <td>47.61</td>
            <td>8 (10b)</td>
            <td>14 (33b)</td>
          </tr>
        </tbody>
      </table>
    </td>
    <td>
      <table class="batsmen-career" width="100%">
        <thead>
          <tr>
            <th class="th-mats">Mat</th>
            <th class="th-runs">Runs</th>
            <th class="th-hs">HS</th>
            <th class="th-sr">Ave</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td>28</td>
            <td>2309</td>
            <td>200*</td>
            <td>54.97</td>
          </tr>
          <tr>
            <td>14</td>
            <td>1126</td>
            <td> 156</td>
            <td>53.61</td>
          </tr>
        </tbody>
      </table>
    </td>
  </tr>
  <tr>
    <td colspan="2">
      <table class="bowlers" width="100%">
        <thead>
          <tr>
            <th class="th-bowlers">Bowlers</th>
            <th class="th-o">O</th>
            <th class="th-m">M</th>
            <th class="th-r">R</th>
            <th class="th-w">W</th>
            <th class="th-econ">Econ</th>
            <th class="th-0s">0s</th>
            <th class="th-4s">4s</th>
            <th class="th-6s">6s</th>
            <th class="th-this-spell">This spell</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td class="bowler-1-name">
            <a href="http://www.espncricinfo.com/the-ashes-2015/content/current/player/311592.html" title="View the player profile for MA Starc" target="_blank">Mitchell Starc</a>
            </td>
            <td>6.2</td>
            <td>3</td>
            <td>26</td>
            <td>1</td>
            <td>4.10</td>
            <td>30</td>
            <td>4</td>
            <td>0</td>
            <td>0.2-0-2-0</td>
          </tr>
          <tr>
            <td class="bowler-2-name ">
            <a href="http://www.espncricinfo.com/the-ashes-2015/content/current/player/288284.html" title="View the player profile for JR Hazlewood" target="_blank">Josh Hazlewood</a>
            </td>
            <td>9.0</td>
            <td>3</td>
            <td>32</td>
            <td>1</td>
            <td>3.55</td>
            <td>42</td>
            <td>5</td>
            <td>0</td>
            <td>5-3-10-0</td>
          </tr>
        </tbody>
      </table>
    </td>
    <td>
      <table class="bowlers-career" width="100%">
        <thead>
          <tr>
            <th class="th-mat">Mat</th>
            <th class="th-wkts">Wkts</th>
            <th class="th-bbt">BBI</th>
            <th class="th-econ">Ave</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td>18</td>
            <td>61</td>
            <td> 6/154</td>
            <td>32.09</td>
          </tr>
          <tr>
            <td>6</td>
            <td>25</td>
            <td>  5/38</td>
            <td>19.60</td>
          </tr>
        </tbody>
      </table>
    </td>
  </tr>
</table>
@nox
Copy link
Member

@nox nox commented Sep 30, 2017

This is still much broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.