Thanks Ben
Maybe Flex or Bootstrap is the way to go but theyre whole 'nother systems to learn, and I'm not going to be coding much in the future as coding isn't my thing, so I'm reluctant to use your simple fix and call it a day.
Would love to find how to fix it with regular html/css that I know and understand. I want to know where I went wrong, and I don't think these 2 problems should be a major coding challenge....
Maybe Flex or Bootstrap is the way to go but theyre whole 'nother systems to learn, and I'm not going to be coding much in the future as coding isn't my thing, so I'm reluctant to use your simple fix and call it a day.
There's no need for any Flex or Bootstrap to do this. This is just a matter of getting your current css right, which would be as follows:
.intro-buttons {
text-align: center;
text-transform: uppercase;
width:350px;
background-color: rgba(255, 255, 255, 0.4);
border-radius: 5px;
font-family: 'Brawler', serif;
font-size: 1em;
font-weight: bold;
color:#000;
padding: 10px 0;
transition-duration: 0.4s;
margin: 0 auto 10px auto;
}
.intro-buttons a:link {
text-decoration: none;
color: #000;
}
.intro-buttons a:visited {
color: #f2eab7;
}
.intro-buttons:hover {
background-color: #DAB277;
color: white;
}
Infact there is absolutely no need to wrap your anchor tags in <divs>, which create redundant code - you could just apply the class to the anchor tags themselves:
<a class="intro-buttons" href="_video-multimedia-animation.html" title="L">QUICK LOOK video</a>
<a class="intro-buttons" href="_directory.html" title="Site Directory">Enter Site</a>
Then use the slightly revised css below:
.intro-buttons {
text-decoration: none;
color: #000;
text-align: center;
text-transform: uppercase;
width: 350px;
background-color: rgba(255, 255, 255, 0.4);
border-radius: 5px;
font-family: 'Brawler', serif;
font-size: 1em;
font-weight: bold;
color:#000;
padding: 10px 0;
transition-duration: 0.4s;
margin: 0 auto 10px auto;
display: block;
}
.intro-buttons:visited {
text-decoration: none;
color: #f2eab7;
}
.intro-buttons:hover {
background-color: #DAB277;
color: white;
}