<html>
<style>
body {margin:0;}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: maroon;
position: fixed;
top: 0;
width:100%;
}
li {
float: right;
}
li a {
display: block;
color: whitesmoke;
text-align: center;
padding: 15px 16px;
text-decoration: none;
font-family:georgia;
font-size:17px;
letter-spacing:0px;
}
li a:hover:not(.active) {
background-color:#3d1010;
}
.active {
background-color: #4CAF50;
}
</style>
</head>
<body>
<ul>
<li><a href="contact.html">I</a></li>
<li><a href="crop.html">ME</a></li>
<li><a href="#Home"> MYSELF</a></li>
<div class="box">
<div class="container-1">
<span class="icon"><i class="fa fa-search"></i></span>
<input type="search" id="search" placeholder="good morning..." />
</div>
</ul>
<style>
.box{
margin-top:17px;
margin-left: 333px;
border-radius:22px
width: 444px;
height:0px;
color: red;
outline:yellow;
position: scroll;
color: green;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
</style>
</ul>
<div style="padding:20px;margin-top:25px;background-color:whitesmoke;height:2000px;">
<p><a href="ROCK#" style="text-decoration:none"> ROCK </a></p>
<style>
p{
display: block;
border: 1px solid black;
text-align: center;
font-size:18px;
padding: 37px;
width: 67px;
color: black;
font-family:arialblack;
background-color:green;
position:auto;
right:0px;
margin-top:22px;
}
a{
color:black;
}
a:hover {
color:ghostwhite;
}
</style>
<p2><a href="#varun" style="text-decoration:none"> VARUN </a></p2>
<style>
p2{
display: block;
border: 1px solid black;
text-align: center;
font-size:18px;
padding: 40px;
width: 70px;
color: black;
font-family:arialblack;
background-color:green;
position:absolute;
left:0px;
margin-top:92px;
}
a{
color:black;
}
a:hover {
color:ghostwhite;
}
</style>
{{{RUN THIS PROGRAM IN YOUR EDITOR OR NOTEPAD++ AND SEE IT, MY PROBLEM IS THAT CAN YOU SEE TWO BOX rock and rohal I WANT THAT BOX TO STICK TO THE LEFT OF MY MARGIN LIKE varun box is STICK