Brand emblem, display quality

Some questions I have: 1. Logo Placement: I'm having trouble placing my logo on the top left side of my navigation bar without making too many changes to the code. Any suggestions? 2. Screen Resolution Discrepancy: I've noticed that my website looks different on my PC and laptop screens. Is there a way to fix this issue? The problem with the logo placement is also evident in these images showcasing how my website appears with different fonts.

body {
background-color: white;                
margin: 0;
padding: 0;
width: 100%;
height: auto;
min-width: 1000px;
}

@font-face {
font-family: "Jocker";
src: url("JockeyOne-Regular.ttf") format("truetype");
}

@font-face {
font-family: "Pacifica";
src: url("PacificaCondensed-Regular.ttf") format

("truetype"); 
}

@font-face {
font-family: "ReklameScript";
src:url("ReklameScript.ttf") format("truetype");
}

h1 {
font-size: 120px;
text-align: left;
font-family: "Jocker";
margin-left: 45;
color: rgb(200,101, 103);
}

h2 {
font-size: 70;
margin-left: 224;
font-family: "Jocker";
color: rgb(200,101, 103);
}

#header {
width: 100%;
height: 50px;
margin: auto;

}

#navigacija {
width: 100%;
margin-left: 0px;
padding: 0px;
height: 50px;  
overflow: hidden;
text-align: right;
position: fixed;
background-color: #089DE3;
z-index: 9999;
}

#navigacija a {
color: white;
text-decoration: none;
line-height: 50px; 
font-size: 30px; 
font-family: "Pacifica";
display: inline-block;
padding-left: 50px;
padding-right: 50px;
padding-top: 0px;
padding-bottom: 0px;
}

#navigacija a:hover {
background: #00C5CD;
}

.main1 {
margin-top: 50px;
font-family: "ReklameScript";
font-size: 50;
background: #089DE3;
text-align: left;
margin-left: 194;
}

.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 0px;
height: 0;
overflow: hidden;
bottom: 930;
right: 0px;
}
.video-container iframe,  
.video-container object,  
.video-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.video-wrapper {
width: 640px;
float: right;
margin-left:auto;
margin-right:auto;
max-width: 100%;
}
<!DOCYPE html>
<html>
<head>
<title>MaxSkins-Home</title>
<link rel="stylesheet" href="Home.css" type="text/css" />



</head>

<body>
<div id="header">
<div id="navigacija">
     <a href="Home.html"><div class="Home"><b>HOME</b></div></a> 
     <a href="Shop.html"><b>SHOP</b></a> 
     <a href="#"><b>GET POINTS</b></a> 
     <a href="#"><b>INFO</b></a> 
  </div>
</div>

<h1><b>EARN POINTS,<br> GET SKINS!</b></h1>
<h2><b>How does it work?</b></h2>
<div class="main1">
<p><b>It's simple!<br> Watch videos, do tasks and have fun!

<br>After earning large amount of coins,<br> contact us to get your skins!

<b></p>

</div>

<div class="video-wrapper">
<div class="video-container">
<iframe width="640" height="360" 

src="https://www.youtube.com/embed/lwItL2NXwDw" frameborder="5" 

allowfullscreen></iframe>
</div>
<!-- /video -->
</div>
<!-- /video-wrapper -->
</body>
</html>

1680x1050 1366x768

Answer №1

Consider implementing a layout similar to the one found on the website you provided. The logo appears to be in formatted text, so I suggest using a left float for the text insertion. Test this approach to see if it suits your needs.

body {
background-color: white;                
margin: 0;
padding: 0;
width: 100%;
height: auto;
min-width: 1000px;
}

@font-face {
font-family: "Jocker";
src: url("JockeyOne-Regular.ttf") format("truetype");
}

@font-face {
font-family: "Pacifica";
src: url("PacificaCondensed-Regular.ttf") format

("truetype"); 
}

@font-face {
font-family: "ReklameScript";
src:url("ReklameScript.ttf") format("truetype");
}

h1 {
font-size: 120px;
text-align: left;
font-family: "Jocker";
margin-left: 45;
color: rgb(200,101, 103);
}

h2 {
font-size: 70;
margin-left: 224;
font-family: "Jocker";
color: rgb(200,101, 103);
}

#header {
width: 100%;
height: 50px;
margin: auto;

}

#navigacija {
width: 100%;
margin-left: 0px;
padding: 0px;
height: 50px;  
overflow: hidden;
text-align: right;
position: fixed;
background-color: #089DE3;
z-index: 9999;
}

#navigacija a {
color: white;
text-decoration: none;
line-height: 50px; 
font-size: 30px; 
font-family: "Pacifica";
display: inline-block;
padding-left: 50px;
padding-right: 50px;
padding-top: 0px;
padding-bottom: 0px;
}

a#logo {
float: left;
}

#navigacija a:hover {
background: #00C5CD;
}

.main1 {
margin-top: 50px;
font-family: "ReklameScript";
font-size: 50;
background: #089DE3;
text-align: left;
margin-left: 194;
}

.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 0px;
height: 0;
overflow: hidden;
bottom: 930;
right: 0px;
}
.video-container iframe,  
.video-container object,  
.video-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.video-wrapper {
width: 640px;
float: right;
margin-left:auto;
margin-right:auto;
max-width: 100%;
}
<!DOCYPE html>
<html>
<head>
<title>MaxSkins-Home</title>
<link rel="stylesheet" href="Home.css" type="text/css" />



</head>

<body>
<div id="header">
<div id="navigacija">
     <a href="#" id="logo">LOGO</a>
     <a href="Home.html"><div class="Home"><b>HOME</b></div></a> 
     <a href="Shop.html"><b>SHOP</b></a> 
     <a href="#"><b>GET POINTS</b></a> 
     <a href="#"><b>INFO</b></a> 
  </div>
</div>

<h1><b>EARN POINTS,<br> GET SKINS!</b></h1>
<h2><b>How does it work?</b></h2>
<div class="main1">
<p><b>It's simple!<br> Watch videos, do tasks and have fun!

<br>After earning large amount of coins,<br> contact us to get your skins!

<b></p>

</div>

<div class="video-wrapper">
<div class="video-container">
<iframe width="640" height="360" 

src="https://www.youtube.com/embed/lwItL2NXwDw" frameborder="5" 

allowfullscreen></iframe>
</div>
<!-- /video -->
</div>
<!-- /video-wrapper -->
</body>
</html>

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Understanding the contrast between viewport and responsive web design is essential in developing a

Can you explain the distinction between using <meta name='viewport'> and implementing Responsive web design with CSS Media Screen? It appears that these two methods serve similar purposes. Even without including <meta name='viewpo ...

The currency exchange script is malfunctioning and not functioning properly

Is there a solution for accessing the JSON value that is currently eluding me? If anyone has any suggestions, I would greatly appreciate it. function forex() { var to = document.getElementById("to").value; alert(to); var from = document.getE ...

Eliminate all elements marked with a particular class when the user clicks outside of a

I am currently building upon a project that I previously started here. Essentially, what I'm doing is dynamically generating tooltip popups that appear next to a link when it is clicked. However, I now need these tooltips to close when any click even ...

Utilize Jquery's "find" function to showcase an image

I am attempting to showcase an image using jQuery. I have a function that accepts ID and PATH as parameters. The ID indicates the section (each section is an HTML page that loads upon user action). Additionally, there is a text area where I am displaying t ...

Creating dynamic form fields using AngularJS

I have a form that includes an input field, a checkbox, and two buttons - one for adding a new field and one for deleting a field. I want to remove the add button and instead show the next field when the checkbox is checked. How can I achieve this? angu ...

Vanilla JS Rock, Paper, Scissors Game - Fails to reset classes upon restarting

Many questions have been raised about this particular topic, but a solution for vanilla js seems elusive. Let's delve into a new challenge: Rock paper scissors with vanilla js. The game functions properly on its own, but the issue arises when attemp ...

Store a video file on your device's memory

Currently, I am storing simple strings in local storage. However, I am now facing the issue of wanting to save videos and images to local storage. Due to the limitations of localStorage supporting only strings, I am unsure of how to achieve this. If you h ...

Initiate the preloader function with a GIF loading image to display while my PHP script processes and retrieves data

This PHP file is responsible for downloading image and data files from the server. <?php header("Cache-Control: no-cache, must-revalidate"); //header("Expires: Tue, 25 sep 2012 09:00:00 GMT+5.30"); header("Content-Type: applica ...

Creating a user-friendly navigation menu: A step-by-step guide

I need help creating a navigation menu for my website that isn't functioning properly. Here is the code I am currently using: body{ margin: 0px; padding: 0px; } nav > ul{ margin: 0px; padding: 0px; } nav > ul > li{ fl ...

Creating a responsive HTML table in R can be achieved by using the 'DT

Below is the structured dataframe I am working with in R: Dataframe- seq count percentage Marking count Percentage batch_no count Percentage FRD 1 12.50% S1 2 25.00% 6 1 12 ...

Automatically adjust sizes with div elements

How can I automatically resize this iframe within a div? My current method is not effective. <iframe src="http://www.gamepuma.com/external.html?http://data.gamepuma.com/games/06/crash-bandicoot.swf" width="600" height="400" frameborder="0" margin ...

Navigating on the horizontal axis within a container with overflow properties

I am trying to insert multiple children-divs into a parent-div. The parent div has a fixed width. The children are set to float left and will overflow the container. I need the ability to scroll along the x-axis. However, when I attempt to do this, the c ...

Guide to developing a manual tally counter with recorded logs using HTML and JavaScript

I am currently in need of assistance with creating a manual input counter using the App Script Editor. My website design already includes a single input textbox, a reset button, and a disabled box. What I would like to achieve is that when I enter a numb ...

Issue with Font Requests in Browsers when Using Angular 10 and SCSS with @font-face

I have a project built with Angular 10 that utilizes SCSS for styling. In my _typography.scss file, I have defined some @font-face rules pointing to the font files located in the assets/fonts directory. However, when I run the application, the browser does ...

Selecting a folder path with Angular 6: A step-by-step guide

Currently, I am aiming to extract the folder path string without uploading any files. The goal is simply to capture the path for future use. Below is an example of how you can prompt users to select a file: <input id="folder-input" #folderRef type="fil ...

Steps to trigger an alert when the entered quantity exceeds the current stock levels

After developing an IMS System, I encountered a problem where my stock is going into negative figures. To resolve this issue, my primary goal is to trigger an alert whenever the quantity entered by a user exceeds the available stock. For example, if a us ...

Struggling to align an image in the center of a div on top of another image

I am attempting to center a logo on top of a moving image that scrolls through (unfortunately, the movement isn't visible on jsfiddle). I have tried using <center> tags, but they do not work. Adding margin: auto; does not properly center the ima ...

Troubleshoot padding problems in mpdf

Note: mpdf 6.0 Greetings, In my efforts to produce precise PDFs using mpdf for future printing purposes, I have encountered an issue with the positioning of elements on the page. I require these elements to be positioned precisely from the top left corne ...

Learn the technique for showcasing numerous markers on Google Maps, each equipped with its own individualized info windows

https://i.sstatic.net/1tTUD.png // map center var center = new google.maps.LatLng(2.855262784366583, 105.4302978515625); function initialize() { var mapOptions = { center: center, zoom: 7, mapTypeId: google.maps.MapTypeId.ROADMAP }; // Create a < ...

Can I use javascript/jquery to alter the direction of text in each line?

Looking for assistance with changing text direction on each new line. For instance: text left-to-right text right-to-left text left-to-right text right-to-left... etc. I would like the text direction to change with each word-wrap: break-word. Any help w ...