I'm struggling to keep my website layout consistent across different screen sizes. The design looks messy on mobile compared to desktop. Below is the code I'm using.
<html>
<head>
<style>
#logo img {
width: 120px;
margin-top: 20px;
margin-left:350px;
}
#footer img {
width: 450px;
margin-top: 20px;
margin-left:250px;
}
#girl img {
width: 450px;
margin-top: 20px;
margin-left:200px;
}
#follow_us img {
width: 250px;
margin-top: 20px;
margin-left:300px;
}
img.NICE {
position: absolute;
left: 200px;
top: 0px;
z-index: -1;
}
body, div, dl, dt, dd, h1, h2, h3, h4, h5, h6, p, pre, code, blockquote {
margin:0;
padding:0;
border-width:0;
}
body {
-epub-hyphens:auto;
}
div.Basic-Text-Frame {
border-style:solid;
}
p.Basic-Paragraph {
color:#000000;
font-family:"Minion Pro", serif;
font-size:12px;
font-style:normal;
font-variant:normal;
font-weight:normal;
line-height:1.2;
margin-bottom:0;
margin-left:0;
margin-right:0;
margin-top:0;
orphans:1;
page-break-after:auto;
page-break-before:auto;
text-align:left;
text-decoration:none;
text-indent:0;
text-transform:none;
widows:1;
}
p.ParaOverride-1 {
text-align:justify;
text-align-last:center;
}
span.CharOverride-1 {
color:#525358;
font-family:Raleway, sans-serif;
font-size:16px;
font-style:normal;
font-weight:200;
}
...
Expected output: https://i.sstatic.net/fDSsJ.png