Difference between revisions of "Team:ITB Indonesia/Basic Part"

Line 4: Line 4:
 
<html>
 
<html>
  
 +
<style>
 +
table, td, th {
 +
    border: 1px solid black;
 +
}
  
 +
table {
 +
    border-collapse: collapse;
 +
    width: 100%;
 +
}
 +
 +
th {
 +
    height: 50px;
 +
}
 +
</style>
 
<div class="clear"></div>
 
<div class="clear"></div>
  
Line 16: Line 29:
 
<h1 class="ITB_h1" style="padding-bottom: 30px; margin-bottom: 50px; border-bottom: 2px solid #1c2922 !important; padding-left: 30px; text-align: center; color: #1c2922">Basic Parts</h1>
 
<h1 class="ITB_h1" style="padding-bottom: 30px; margin-bottom: 50px; border-bottom: 2px solid #1c2922 !important; padding-left: 30px; text-align: center; color: #1c2922">Basic Parts</h1>
  
<p>Paragraph 1</p>
+
<body>
<p>Paragraph 2</p>
+
 
 +
<h2>The width and height Properties</h2>
 +
<p>Set the width of the table, and the height of the table header row:</p>
 +
 
 +
<table>
 +
  <tr>
 +
    <th>Firstname</th>
 +
    <th>Lastname</th>
 +
    <th>Savings</th>
 +
  </tr>
 +
  <tr>
 +
    <td>Peter</td>
 +
    <td>Griffin</td>
 +
    <td>$100</td>
 +
  </tr>
 +
  <tr>
 +
    <td>Lois</td>
 +
    <td>Griffin</td>
 +
    <td>$150</td>
 +
  </tr>
 +
  <tr>
 +
    <td>Joe</td>
 +
    <td>Swanson</td>
 +
    <td>$300</td>
 +
  </tr>
 +
  <tr>
 +
    <td>Cleveland</td>
 +
    <td>Brown</td>
 +
    <td>$250</td>
 +
</tr>
 +
</table>
 +
 
 +
</body>
 +
</html>
 
</div>
 
</div>

Revision as of 06:10, 1 November 2017


Parts

Basic Parts / composite parts


Basic Parts

The width and height Properties

Set the width of the table, and the height of the table header row:

Firstname Lastname Savings
Peter Griffin $100
Lois Griffin $150
Joe Swanson $300
Cleveland Brown $250
</div>