Thank you for this amazing opportunity.
I am currently facing a challenge that I am finding difficult to solve due to my limited front-end development skills: I am trying to align links vertically with a button.
Here is the HTML code:
<nav>
<div class="header_info">
<ul>
<li><a href="#">Get Help</a></li>
<li><a href="#">Contact Us</a></li>
<li><a href="#">Suggestions</a></li>
</ul>
</div>
<div id="header-login">
<div class="current header_user_info"><button><a href="#">test</a></button></div>
And here is the CSS:
.header_info{
position: relative;
margin: 0 10px;
color: #7E7E7E;
font-weight: bold;
cursor: pointer;
padding-left: 0;
padding-right: 0;
list-style:none;
float: left;
}
.header_info ul{
display: inline-block;
list-style: none;
}
.header_info li{
display: inline;
margin-right:11px;
}
.header_info li :hover{
color: #F98866;
}
.header_info a{
color: #7E7E7E;
}
Currently, the links and buttons are not aligned on the same line. I would like to make them look neat and professional.
Any help or enhancements to my code would be greatly appreciated.
Thanks.
View JSFIDDLE here ==> https://jsfiddle.net/5nzvwwjx/5/