I'm completely new to the world of web development and I am attempting to construct a website for my company all by myself. However, I am encountering an issue with a "red info box" on one of my pages.
While it displays perfectly on Chrome, it appears distorted on both Firefox and Internet Explorer, with images attached as proof.
Check out the code on Codepen here
This is the corresponding HTML:
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css"
integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4"
crossorigin="anonymous">
<!-- Custom CSS -->
<link rel="stylesheet" href="resources/css/style.css">
<!-- Custom FONTS -->
<link href="https://fonts.googleapis.com/css?family=Do+Hyeon" rel="stylesheet">
<!-- Favicon -->
<link rel="icon" href="resources/images/logo.jpg" width:"100px">
<!-- Title of Page-->
<title>PC Handyman</title> </head>
<!-- Landing page Body-->
<body id="landing-page">
<nav class="navbar navbar-expand-lg navbar-light bg-light fixed-top " id="spec">
<a class="navbar-brand" href="#">PC Handyman
<img class="logopic" src="resources/images/logo.jpg" alt=""></a>
<button class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarNav" aria-controls="navbarNav"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a class="nav-link" href="index.html">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="services.html">Services</a>
</li>
<li class="nav-item">
<a class="nav-link" href="about.html">Why PC Handyman?</a>
</li>
<li class="nav-item">
<a class="nav-link disabled" href="contact.html">Contact Us</a>
</li>
</ul>
</div>
</nav>
<div class="pop">
<p>Welcome to PC Handyman, East Auckland's friendliest PC repair service. Lorem ipsum dolor sit amet, consectetur adipisicing
elit. Assumenda, fugiat.</p>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"
integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"
integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm"
crossorigin="anonymous"></script> </body> </html>
If anyone could lend a hand in identifying the cause of my "redbox" distortion on other browsers, it would be greatly appreciated.
I'm almost certain that the issue lies within my "pop" class.