Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<ul class="menu">
<li class="heading">Navigation</li>
<li><a href="#">Home</a></li>
<li><a href="#">New Sites</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Contacts</a></li>
</ul>
ul.menu {
list-style: none;
width: 134px; /* Will need the box model hack here */
border: 1px solid #021C80;
margin: 0;
padding:0
}
ul.menu li {
margin-left: 0;
border-bottom: 4px solid #9FBAFB;
}
ul.menu li.heading {
color: #021C80;
background-color: #CCCCCC;
font-size: 14px;
padding: 2px 0;
font-family: Arial, Helvetica, sans-serif;
text-align: center;
font-weight: bold;
}
ul.menu a {
display: block;
width: 120px;
padding-left: 10px;
color: white;
background-color: #9FBAFB;
border-left: 4px solid #9FBAFB;
font-size: 18px;
font-family: "Times New Roman", Times, serif;
text-decoration: none;
}
ul.menu a:hover {
background-color: #021C80;
border-left: 4px solid white;
}
<html>
<head>
<title>Layout</title>
</head>
<style type="text/css">
body {
margin: 0;
background: url(bluebar.gif) top left repeat-y;
}
#header {
background: red; /* use an image here! */
text-align: center;
height: 165px;
margin-left: 150px;
}
#sidebar {
position: absolute;
top: 0;
left: 0;
width: 150px;
height: 300px;
background: blue; /* and here! */
}
#logopic {
position: relative;
margin-top: 10px;
left: 25px;
}
#content {
margin-top: 10px;
margin-left: 150px;
}
</style>
<body>
<div id="header">
Header
</div>
<div id="content">
Content
</div>
<div id="sidebar">
<div id="logopic">
<img src="logo-tower.gif" height="166" width="135" alt="" />
</div>
Sidebar
</div>
</div>
</body>