I am currently constructing a website as part of a class project at my school. After finalizing the design for the site, I have now moved on to the development phase.
Among the various stylesheets available, I have settled on "Roboto Slab" which gives the desired look and feel to the website. Most of the main page has already been crafted by me.
However, I am encountering one persistent issue while attempting to format the text. Despite my efforts to position the text exactly in the center of the webpage, it appears slightly lower than expected. Additionally, there seems to be an unnecessary horizontal scrolling option present.
Below is the code snippet for the website:
<html>
<head>
<title>MySite</title>
<meta name="description" content="My Site.">
<link rel="stylesheet" href="core.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
css code here
</style>;
</head>
<body>
body content here
</body>
</html>
I am puzzled as to why this issue persists despite trying different methods such as align: center. Can anyone provide some insight into this matter?
!! EDIT !! Successfully resolved font size problem. Hooray for me! Added a new section in the CSS script for H2 elements.