-
Notifications
You must be signed in to change notification settings - Fork 0
/
ex15.html
56 lines (51 loc) · 1.48 KB
/
ex15.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Layout Template</title>
<style>
*{
padding: 0;
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}
body{
background-color: azure;
}
header{
background-color: rgb(14, 112, 112);
align-items: center;
padding: 10px;
color: white;
}
.container{
border: 2px solid #333;
margin: 20px auto;
overflow: hidden;
}
.column{
float: left;
width: 50%;
padding: 20px;
box-sizing: border-box;
}
.column:first-child {
border-right: none; /* Remove border on the right side of the first column */
}
</style>
</head>
<body>
<header>
<h1>Header</h1>
</header>
<div class="container">
<div class="column">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sit amet neque non lectus varius fermentum.</p>
</div>
<div class="column">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla sit amet neque non lectus varius fermentum.</p>
</div>
</div>
</body>
</html>