Currently, I'm having some trouble with the appearance of my website. Let me explain:
I've written some basic code (Please note that this code includes margins. I'm not sure if this is causing the issue) but the content doesn't display nicely on different screen sizes. Feel free to run the code in your browser to see what I mean:
HTML
<!doctype html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/styles.css" rel="stylesheet" type="text/css">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-
awesome.min.css" rel="stylesheet" integrity="sha384-
wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN"
crossorigin="anonymous">
<meta charset="UTF-8">
<title>Portal</title>
</head>
<body>
<nav>
<ul>
<h3 style="margin:15px;" class="logo">MYWEBSITENAME</h3>
<li><a class="navlink" href="#">Home</a></li>
<li><a class="navlink" href="#">About</a></li>
<li><a class="navlink" href="#">Templates</a></li>
<li><a class="navlink" href="/css-library">CSS Library</a></li>
<li><a class="navlink" href="#">Updates</a></li>
<li><a class="navlink" href="#">Downloads</a></li>
</ul>
</nav>
<div class="content-left">
<h1>Ocelot <strong class="tag-greentheme">1.0</strong></h1>
<h3 class="margin-para">Let me set things straight: clicking every download button for all our libraries can be tiresome. That's why we created something special called <em>Ocelot</em>. Ocelot combines all our libraries into one convenient package. Get ready for <em>ocelot!</em> - Current version: 1.0.</h3>
<hr>
</div>
<div class="details">
<h1>GET OCELOT</h1>
<button class="button-greentheme">MORE INFO</button> <button
class="button-graytheme">SAFE LINK IT!</button>
</div>
<div class="content-left">
<h1>Bibrary <strong class="tag-greentheme">1.0</strong></h1>
<h3 class="margin-para">Introducing the brand new CSS library - Bibrary. This is our first CSS library and it covers a wide range of buttons. Keep an eye on this one as it may receive updates as frequently as five times a year!</h3>
</div>
<div class="details">
<h1>GET BIBRARY</h1>
<button class="button-greentheme">MORE INFO</button> <button
href="/bibrary" class="button-graytheme">SAFE LINK IT!</button>
</div>
</body>
</html>
I have specified margin-left:30px; and margin-right:30px; Please provide feedback if you disagree with this design choice.