https://i.sstatic.net/AQiw3.png
Here is my HTML and CSS code:
<!DOCTYPE html>
<html>
<head>
<title>assignment1</title>
<meta charset="utf-8">
<meta name = "description" content="assignment">
<meta name = "keywords" content="php, assignment">
<meta name = "author" content="Kamal">
<meta name = "viewport" content="width=device-width, initial-scale = 1.0">
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href= "css/assignment1.css">
</head>
<body>
<div class="container">
<div class="row">
<div class = "col-xs-12 col-xm-6">
<img class ="img1" src="images/logo.png">
</div>
<div class = "col-xs-12 col-xm-6">
<u class ="new"><p class ="new1"> Login to My Account</p></u>
</div>
</div>
<div class="row">
<div class = "col-xs-12 col-xm-12" >
<form class = "k1">
<input class = "new2" type="text" id="namef" placeholder="Search entire story here...." name="Search">
<button type = "submit" class = "new3"><img src="images/search.png"></button>
</form>
</div>
</div>
<div class="row">
<div class = "col-xs-12 col-xm-12">
<hr class = "new4">
</div>
</div>
</div>
</body>
</html>
CSS Code:
body{background-color: #d7e7f4}
div.container{width:954px; background-color: #FFFFFF}
img.img1{margin-top: 25px; margin-left: 22px}
u.new{color:#007BAF}
p.new1{color:#007BAF; margin-top:-50px; margin-right:22px; margin-left:790px; font-size:14px}
form.k1{margin-top:-15px; margin-left:705px; margin-right:22px}
input.new2{ padding: 2px; font-size: 13px; border: 1px solid #007BAF; width: 64%;}
button.new3{border: none; background-color:#FFFFFF }
hr.new4{margin-top:100px; margin-bottom:1000px; border-top:4px solid black; border-radius:50px; width:954px}
The issue I am facing is that the webpage does not look as expected, especially with the input tag and search box placement.