The h1 text needs to be positioned more towards the middle of the screen, but I'm having trouble with the left margin. Adjusting the margin size in pixels and percentages doesn't seem to have any effect on the page. Changing the background color confirmed that there are no syntax errors present. Both the HTML and CSS code have been validated and there are no margin/header-related errors.
Here's the HTML code:
<body>
<div class="menu">
<h1><span style="font-size: 50px; text-decoration: none; text-shadow: 4px 4px 1px #ffffff; color:#f5cec9;">Welcome!</span><br>What do you want to make?</h1>
and the CSS code:
img, img.menui {
width: 165px;
height: auto;
margin-left: 0px;
margin-right: 0px;
}
div, div.cake, div.menu {
width: 80%;
height: 60%;
margin-left: 10%;
margin-right: 10%;
margin-top: 7%;
}
h1 {
font-size: 16px;
/*margin-left: 428769875937548px;*/
}
<div class="menu">
<h1><span style="font-size: 50px; text-decoration: none; text-shadow: 4px 4px 1px #ffffff; color:#f5cec9;">Welcome!</span><br>What do you want to make?</h1>
</div>
For further information, please visit the website here