Design a two column layout and in the first column insert the following table and in the second column enter the details of your course and your details
时间: 2024-03-20 21:39:30 浏览: 57
(英文版)凌力尔特模拟电路设计手册 2 - Immersion in the Black Art of Analog Design 2013
Sure, I can help you with that. Here's an example of a two column layout with a table in the left column and course details and personal information in the right column:
```
<!DOCTYPE html>
<html>
<head>
<title>Two Column Layout Example</title>
<style>
.container {
display: flex;
flex-wrap: wrap;
}
.column {
flex: 1;
padding: 10px;
}
.table {
border-collapse: collapse;
width: 100%;
}
.table td, .table th {
border: 1px solid #ddd;
padding: 8px;
}
.table th {
padding-top: 12px;
padding-bottom: 12px;
text-align: left;
background-color: #f2f2f2;
color: #000;
}
</style>
</head>
<body>
<div class="container">
<div class="column">
<h2>Course Table</h2>
<table class="table">
<thead>
<tr>
<th>Course Code</th>
<th>Course Name</th>
<th>Credits</th>
</tr>
</thead>
<tbody>
<tr>
<td>CSC101</td>
<td>Introduction to Computer Science</td>
<td>3</td>
</tr>
<tr>
<td>CSC201</td>
<td>Data Structures and Algorithms</td>
<td>4</td>
</tr>
<tr>
<td>CSC301</td>
<td>Database Management Systems</td>
<td>3</td>
</tr>
</tbody>
</table>
</div>
<div class="column">
<h2>Course and Personal Details</h2>
<p><strong>Name:</strong> John Smith</p>
<p><strong>Email:</strong> johnsmith@example.com</p>
<p><strong>Course:</strong> Computer Science</p>
<p><strong>University:</strong> XYZ University</p>
<p><strong>Address:</strong> 123 Main Street, Anytown USA</p>
</div>
</div>
</body>
</html>
```
You can customize the table and the course and personal details to fit your needs. Let me know if you have any questions or if you need further assistance.
阅读全文