I am trying to figure out how to reduce the spacing between my text so that it aligns like the example below. Take a look at the text "Welcome to my portfolio".
Currently, when I run my code, there is a large gap between "Welcome to my" and "Portfolio".
Below is the HTML snippet:
<h1 class="title4">WELCOME TO MY</h1>
<h1 class="title5">PORTFOLIO</h1>
Here is my CSS for styling:
.title4 {
text-align: center;
font-family: Arial;
color: white;
font-size: 45pt;
}
.title5 {
text-align: center;
font-family: Arial;
color: white;
font-size: 45pt;
}
Best regards, Liam.