-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
97 lines (96 loc) · 1.94 KB
/
index.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html>
<head>
<title>Invoice</title>
<style type="text/css">
/* CSS for styling the invoice */
table {
border-collapse: collapse;
width: 100%;
}
th, td {
border: 1px solid black;
padding: 8px;
}
th {
text-align: left;
}
/* added styles */
.logo {
width: 100px;
height: 100px;
float:right;
}
.company-name {
font-size: 24px;
font-weight: bold;
float:left;
margin-left: 10px;
}
.invoice-header {
clear: both;
}
.invoice-from-to {
width: 100%;
display: flex;
}
.invoice-from, .invoice-to {
width: 50%;
padding: 10px;
}
</style>
</head>
<body>
<div class="invoice-header">
<img class="logo" src="https://www.example.com/logo.png" alt="Company Logo">
<div class="company-name">Company Name</div>
</div>
<!-- <h1>Invoice</h1> -->
<div class="invoice-from-to">
<div class="invoice-from">
<p><strong>Invoice From:</strong></p>
<p>Company Name</p>
<p>Address</p>
<p>City, State ZIP</p>
<p>Phone: 555-555-5555</p>
</div>
<div class="invoice-to">
<p><strong>Invoice To:</strong></p>
<p>Customer Name</p>
<p>Address</p>
<p>City, State ZIP</p>
<p>Phone: 555-555-5555</p>
</div>
</div>
<table>
<tr>
<th>Item</th>
<th>Description</th>
<th>Price</th>
</tr>
<tr>
<td>Item 1</td>
<td>Description of item 1</td>
<td>$10.00</td>
</tr>
<tr>
<td>Item 2</td>
<td>Description of item 2</td>
<td>$20.00</td>
</tr>
<tr>
<td>Item 3</td>
<td>Description of item 3</td>
<td>$30.00</td>
</tr>
<tr>
<td colspan="2" style="text-align: right;">Total:</td>
<td>$60.00</td>
</tr>
</table>
<br>
<p>Total Due: $60.00</p>
<p>Total Due: $60.00</p>
<p>Thank you for your business!</p>
</body>
</html>