Skip to content

Commit

Permalink
structure
Browse files Browse the repository at this point in the history
  • Loading branch information
codewithtabani committed May 28, 2024
0 parents commit d0e6cff
Showing 1 changed file with 95 additions and 0 deletions.
95 changes: 95 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Structure</title>
<style>
table{
background-color: rgba(135, 212, 235, 0.39);
border: 2px solid black;
width: 75%;
border-collapse: collapse;
font-family: Arial, Helvetica, sans-serif;
margin: 5% auto;
}
table td{
text-transform: uppercase;
border: 2px solid black;
text-align: center;
}
table #row1{
height: 100px;
}
#row1 td{
text-align: center;
}
#row2 td{
padding: 10px;
}
#row3 #mc{
width: 70%;
}
#row3 #right{
padding: 10px 15px;
}
#row3 #right div{
border: 2px solid black;
}
#row3 #right #box1{
width: 95px;
height: 115px;
float: left;
margin-right:10px;
margin-bottom:10px;
padding-top: 50px;
box-sizing: border-box;
}
#row3 #right #box2{
width: 145px;
height: 115px;
float: right;
padding-top: 41px;
box-sizing: border-box;
}
#row3 #right #box3{
width: 254px;
height: 150px;
clear: both;
padding-top: 65px;
box-sizing: border-box;
}
#row4 td{
padding: 20px;
}
</style>
</head>
<body>
<table>
<tr id="row1">
<td colspan="3">
banner
</td>
</tr>

<tr id="row2">
<td colspan="3">
navigation links
</td>
</tr>

<tr id="row3">
<td id="mc">main content</td>
<td id="right">
<div id="box1">picture</div>
<div id="box2">about our blurb</div>
<div id="box3">recent tweets</div>
</td>
</tr>

<tr id="row4">
<td colspan="2">footer</td>
</tr>
</table>
</body>
</html>

0 comments on commit d0e6cff

Please sign in to comment.