For a school project, I've been attempting to add a top border to a set of hyperlinks in order to separate them from the title. However, after spending over an hour on this task, I still can't seem to get it to work.
Below is the CSS code for the #menu element that houses my hyperlinks:
#menu {
color: #ffffff;
padding: 10px 0px 10px 0px;
text-align: center;
border-top: 1px solid #669999;
}
<div id="menu"><br />
<a href="#">HYPERLINK 1</a> | <br />
<a href="#">HYPERLINK 2</a> | <br />
<a href="#">HYPERLINK 3</a> | <br />
<a href="#">HYPERLINK 4</a> | <br />
<a href="#">HYPERLINK 5</a><br />
</div>
https://i.sstatic.net/j1H5g.png
This image shows how the layout currently appears. It may not be visually appealing, but I am following specific instructions for this assignment.