A CSS web page 1
A simple page using CSS.
<html>
<head>
<style>
body{
background-color:gray;
}
section{
background-color:white;
align:center;
height:570px;
width:650px;
}
.container{
position:relative;
text-align:center;
color:white;
}
.imgtext{
position:absolute;
top:5px;
left:16px;
padding-top:20px;
}
.div1{
margin-top:0px;
padding-top:0px;
padding-left:320px;
align:center;
/*width:1100px;
height:600px;*/
/*background-color:white;*/
}
.navbar{
list-style-type: none;
padding: 0;
margin: 0;
position:absolute;
left: 5px;
width: 90px; }
.navbar li {
background: white;
margin: 7px 0;
padding: 8px;
border-bottom: 2px solid gray; }
table,tr,.td1{
border-bottom:2px solid gray;
border-collapse:collapse;
}
.c1{
position:absolute;
}
.c2{
padding-left:100px;
padding-top:0px;
margin-top:0px;
}
.c3{
padding-bottom:0px;
}
p{
border-top:1px dashed pink;
border-bottom:1px dashed pink;
}
a:link{
color:black;
}
a {
text-decoration: none; }
tr:hover{
background-color:gray;
}
</style>
</head>
<body>
<div class="div1">
<section>
<div class="c3">
<!--<h1>Miraj's site</h1>-->
<div class="container">
<img src="banner.png" width="630" height="230" align="bottom" style="padding-top:20px;"></img>
<div class="imgtext">Miraj's site</div>
</div>
</div>
<div class="c1">
<ul class="navbar">
<li><a href="https://www.mirajlimbasia.blogsspot.com">Home</a></li>
<li><a href="https://www.mirajlimbasia.blogsspot.com">About Us</a></li>
<li><a href="https://www.mirajlimbasia.blogsspot.com">News</a></li>
<li><a href="https://www.mirajlimbasia.blogsspot.com">Contact Us</a></li>
<li><a href="https://www.mirajlimbasia.blogsspot.com">Links</a></li>
</ul>
</div>
<div class="c2">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s,when
an unknown printer took a galley of type and scranbled it to make a type
specimen book. It has survived not only five cevturies, but also the leap into
electronic typesetting, remaining essentially unchanged. It was popularised in the
1960s with the release of Letraset sheetes containing Lorem Ipsum passages, and
more recently with desktop publishing software like Aldus PageMaker including
versions of Lorem Ipsum.
</p>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s,when
an unknown printer took a galley of type and scranbled it to make a type
specimen book. It has survived not only five cevturies, but also the leap into
electronic typesetting, remaining essentially unchanged. It was popularised in the
1960s with the release of Letraset sheetes containing Lorem Ipsum passages, and
more recently with desktop publishing software like Aldus PageMaker including
versions of Lorem Ipsum.
</p>
</div>
</section>
</div>
</body>
</html>
<html>
<head>
<style>
body{
background-color:gray;
}
section{
background-color:white;
align:center;
height:570px;
width:650px;
}
.container{
position:relative;
text-align:center;
color:white;
}
.imgtext{
position:absolute;
top:5px;
left:16px;
padding-top:20px;
}
.div1{
margin-top:0px;
padding-top:0px;
padding-left:320px;
align:center;
/*width:1100px;
height:600px;*/
/*background-color:white;*/
}
.navbar{
list-style-type: none;
padding: 0;
margin: 0;
position:absolute;
left: 5px;
width: 90px; }
.navbar li {
background: white;
margin: 7px 0;
padding: 8px;
border-bottom: 2px solid gray; }
table,tr,.td1{
border-bottom:2px solid gray;
border-collapse:collapse;
}
.c1{
position:absolute;
}
.c2{
padding-left:100px;
padding-top:0px;
margin-top:0px;
}
.c3{
padding-bottom:0px;
}
p{
border-top:1px dashed pink;
border-bottom:1px dashed pink;
}
a:link{
color:black;
}
a {
text-decoration: none; }
tr:hover{
background-color:gray;
}
</style>
</head>
<body>
<div class="div1">
<section>
<div class="c3">
<!--<h1>Miraj's site</h1>-->
<div class="container">
<img src="banner.png" width="630" height="230" align="bottom" style="padding-top:20px;"></img>
<div class="imgtext">Miraj's site</div>
</div>
</div>
<div class="c1">
<ul class="navbar">
<li><a href="https://www.mirajlimbasia.blogsspot.com">Home</a></li>
<li><a href="https://www.mirajlimbasia.blogsspot.com">About Us</a></li>
<li><a href="https://www.mirajlimbasia.blogsspot.com">News</a></li>
<li><a href="https://www.mirajlimbasia.blogsspot.com">Contact Us</a></li>
<li><a href="https://www.mirajlimbasia.blogsspot.com">Links</a></li>
</ul>
</div>
<div class="c2">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s,when
an unknown printer took a galley of type and scranbled it to make a type
specimen book. It has survived not only five cevturies, but also the leap into
electronic typesetting, remaining essentially unchanged. It was popularised in the
1960s with the release of Letraset sheetes containing Lorem Ipsum passages, and
more recently with desktop publishing software like Aldus PageMaker including
versions of Lorem Ipsum.
</p>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s,when
an unknown printer took a galley of type and scranbled it to make a type
specimen book. It has survived not only five cevturies, but also the leap into
electronic typesetting, remaining essentially unchanged. It was popularised in the
1960s with the release of Letraset sheetes containing Lorem Ipsum passages, and
more recently with desktop publishing software like Aldus PageMaker including
versions of Lorem Ipsum.
</p>
</div>
</section>
</div>
</body>
</html>
👍🏻👍🏻👍🏻👍🏻
ReplyDelete