Hey there! I'm new to HTML and currently learning the language. I've been trying to center the top photo on my website, but no matter what I do, it just won't align properly. I've experimented with vertical-align and padding, but sadly nothing seems to work. Below is the code I have right now. Any help would be greatly appreciated!
.hudson {
color: white;
position: relative;
font-size: 60px;
top: 105px;
font-family: Futura, 'Trebuchet MS', Arial, sans-serif;
text-align: center;
}
.threeD {
text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0, 0, 0, .1), 0 0 5px rgba(0, 0, 0, .1), 0 1px 3px rgba(0, 0, 0, .3), 0 3px 5px rgba(0, 0, 0, .2), 0 5px 10px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .2), 0 20px 20px rgba(0, 0, 0, .15);
}
.p1 {
position: relative;
text-align: center;
top: 70px;
text-align: center;
-webkit-animation-delay: 1s;
}
...
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Orbitron" />
<link rel="stylesheet" type="text/css" href="fontawesome/css/font-awesome.min.css">
<img class="coding animated fadeInDown" src="PICTURES1/coding.png" style="max-width:125px;max-height:125px;">
<h2 class="hudson threeD animated fadeInDown">Hudson Reamer</h2>
<p class="paracolor p1 animated fadeInRightBig">blah blah blah</p>
<p class="paracolor p2 animated fadeInLeftBig">blah blah blah</p>
<p class="paracolor p3 animated fadeInRightBig">blah blah blah</p>
...