I am new to CSS and my html is rusty as hell, and I want to have links arranged horizontally on the top of my page. They are block links.
CSS script:
a.blue_top_tab {
text-align: center;
display: block;
background: blue;
color: black;
text-decoration: none;
width: 120px;
font-size: 140%;
padding-top: 10px;
padding-bottom: 10px;
}
And here is my link:
<a class="blue_top_tab" href="other.html">Start</a>
Now when I have multiple block links they always move below the previous one. I know I could just align it using top and left, but I would like to know why its stacking top to bottom and not right to left. Edit: Can CSS blocks stack left to right?