Web layout using html css
Save this file in index.html format
<!DOCTYPE html >
<head>
<link rel="stylesheet" type="text/css" href="9.CSS" />
</head>
<body>
<div align="center">
<div class="cantane">
<div class="header"><img id="uk" src="uk..jpg"/>
<h1><div id="title"><a href="index.php">home </a></div></h1>
<div style="margin-top:-20px; float:right; width: 100%; text-align:right; padding-right:10px;"><?php echo date("dS F Y") ?></div>
</div>
<div class="navbar">
<div class="menu">
<ul>
<li>jokes
<ul>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
</ul>
</li>
</ul>
</div>
<div class="menu">
<ul>
<li>jokes
<ul>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
</ul>
</li>
</ul>
</div>
<div class="menu">
<ul>
<li>jokes
<ul>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
</ul>
</li>
</ul>
</div>
<div class="menu">
<ul>
<li>jokes
<ul>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
</ul>
</li>
</ul>
</div>
<div class="menu">
<ul>
<li>jokes
<ul>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
</ul>
</li>
</ul>
</div>
<div class="menu">
<ul>
<li>jokes
<ul>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
</ul>
</li>
</ul>
</div>
<div class="menu">
<ul>
<li>jokes
<ul>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
</ul>
</li>
</ul>
</div>
<div class="menu">
<ul>
<li>jokes
<ul>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
<li><a href="#">funny</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="left"><div class="im">uk
</div>
</div>
<div class="right">
<h3><font color="#0000A0"><b><i><u>Updates</u></i></b></font></h3>
<marquee direction="up" height="430" scrollamount="4" onMouseOver="this.stop();" onMouseOut="this.start();"> <a href="#">Updates</a> * Bollywood legend Pran no more...read more<br><br><br>
*I was victim of Hospital snooping by Kim Kardashian<br><br>*Hrithik Roshan raring to get back in action<br><br>*Bhaah Milkha Bhaag moves to blockb</marquee>
</div>
<div class="body">
<ul>
<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>
<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>
<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>
<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>
<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>
<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>
<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>
<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>
<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>
<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>
<li>The quick brwown fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own fox jumps over the lazy dogThe quick br;own
</li>
</ul>
</div>
<div class="footer">@khan software pvt. ltd.
<div id="counter">
</div>
</div>
</div>
</div>
</body>
</html>
Save this file 9.css and then open in any web browser
.cantane {
width: 900px;
}
.left {
float: left;
height: 800px;
width: 150px;
border-left:solid #000000;
font-family: "Times New Roman", Times, serif;
font-size: 14px;
font-style: normal;
background: #660099;
}
.right {
background-color: #660099;
float: right;
height: 800px;
width: 150px;
font-family: "Times New Roman", Times, serif;
font-size: 14px;
font-style: normal;
border-right:solid #000000;
}
.body {
padding:20px;
text-align:justify;
width:550px;
height:700px;
}
.footer {
font-family: Arial, Helvetica, sans-serif;
font-size: 24px;
font-style: italic;
color: #00CC66;
text-decoration: underline;
background-color: #000000;
clear: both;
height: 70px;
width: 900px;
}
.header {
background-repeat: no-repeat;
height: 100px;
width: 900px;
border-bottom-width: medium;
border-bottom-style: solid;
border-bottom-color: #0000CC;
position: relative;
background-color: #990000;
}
.navbar {
height: 30px;
width: 900px;
margin-top: 5px;
position: relative;
}
#image {
position: relative;
height: 500px;
width: 149px;
}
.link {
position:absolute ;
top:5px;
left:50px;
}
.link ul{
margin:5px;
overflow:visible;
}
.link li{
margin:0px 5px 0px 0px;
list-style: none;
display: inline;
}
.link li a{
color:#FF0000;
padding:5px 10px 5px;
text-decoration:none;
}
link li a:hover
{
color:#0000FF;
text-decoration:none;
}
h1
{color:#8000FF;
size:22px;
float:left;
}
#uk
{height:90px;
width:100px;
float:left;
margin:5px 5px 5px;
}
.uk1
{float:right;
}
.uk1 td
{
color:#000099;
font-size:16px;
}
.uk1 tr
{
color:#000099;
font-size:16px;
}
.menu
{
padding:0px;
margin:0px;
}
.menu ul
{
padding:0px;
margin:0px;
line-height:30px;
}
.menu li
{
list-style:none;
position:relative;
float:left;
background-color: #006600;
height:30px;
width:108px;
display:block;
border:solid 2px #FFFFFF;
}
.menu a
{
height:30px;
width:108px;
display:block;
border:solid 2px #FFFFFF;
text-decoration:none;
color:black;
text-align:center;
}
.menu ul ul
{
visibility: hidden;
position:absolute;
top:30px;
}
.menu ul li:hover ul
{
visibility:visible;
}
.menu a:hover
{color:#660000;
background-color:pink;
}
.menu ul li:hover ul li a:hover
{
background: #FF0099;
}
#title
{text-decoration:none;}