Current Markup:
<section class="Product-Info">
<table>
<tr>
<th colspan="2">Product Infromation</th>
</tr>
<tr>
<th>Product Name:</th>
<td>Name</td>
</tr>
<tr>
<th>Product Description:</th>
<td>Description</td>
</tr>
</table>
</section>
Desired Outcome:
Question:
How can I use CSS to add borders and adjust the width of my current HTML in order to achieve the desired look?
What I Have Tried:
I have attempted utilizing the following CSS:
table {
border: 1px solid black;
}
However, this only adds a border around the table. How can I further customize it to match the desired outcome?