HTML5如何制作表格边框甚至?

时间:2015-10-29 20:38:22

标签: css html5 html-table border

我有一份大学的任务要做,而且我有一个问题。 这就是我应该做的:

enter image description here

蓝色边框是均匀的。在我的网站上: enter image description here

不是。是否有任何CSS可以使它们均匀?

<table>
    <tr>
        <th>Module Description</th>

       </tr>
       <tr>
       <td>The successful learner will, through the use of a realistic commercial scenario, take a project through the software development lifecycle. They must take their project from problem statement through the significant phases of a software project. </td>
       </tr>
       <tr>
            <th>Learning Outcomes</th>
       </tr>
       <tr>
         <td>On a successful completion of this module the learner will/should be able to do...</td>
       </tr>
</table>

1 个答案:

答案 0 :(得分:0)

我不知道宽度=&#34; 100%&#34;属性。这是我的问题的答案。对不起这个误导性问题:D