Can someone help me align my search bars and submit buttons? I'm new to HTML and struggling with this task. (By the way, this is just a small part of the browser layout, it doesn't usually look so messy!)
.center-block{
margin-top: 220px;
text-align: center;
}
.searchboxes{
width: 500px;
opacity: 0.6;
font-weight: bold;
border-radius: 25px;
text-align: center;
margin: 0;
}
.searchboxes:hover{
opacity: 1;
font-weight: bold;
}
.clickboxes{
opacity: 0.6;
font-weight: bold;
font-family: Arial;
background-color: white;
border-radius: 25px;
margin-top: 480px;
text-align: center;
margin: 0;
}
.clickboxes:hover{
opacity: 1;
font-weight: bold;
}
<div class="col-md-6">
<img class="center-block" src="/assets/logo.png" alt="MsearchLogo" style="width:480px;height:270px;">
<form id="vb_yt_search-form" action="https://duckduckgo.com/" method="get" target="_blank">
<input name="q" type="text" maxlength="128" class="searchboxes" />
<input type="submit" value="DuckDuckGo" class="clickboxes" />
</form>
<br />
<form id="vb_yt_search-form" action="http://www.google.com/search" method="get" target="_blank">
<input name="q" type="text" maxlength="128" class="searchboxes" />
<input type="submit" value="Google" class="clickboxes" />
</form>
<br />
<form id="vb_yt_search-form" action="http://www.youtube.com/results" method="get" target="_blank">
<input id="vb_yt_search-term" name="search_query" type="text" maxlength="128" class="searchboxes" />
<input type="submit" value="Youtube" class="clickboxes" />
</a>
</form>
</div>