All right this is probably easy and I am over thinking it. My boss bought a template, and wants me to use the general idea to make out site. The template has a menu in the upper right of the page. It's in a div that has a space holder image 37px tall. The div also has a bg image to "highlight" the menu. Furthermore it has spacer images between each link for alignment. I have changed all of this to:
(I removed the 37px tall spacer image.)
As of right now it is aligned to the top left of the "top" div it is in. How do I make it align to bottom right? floating right reverses the link orders.
Code:
#top {background:url(images/header.gif) top left;
margin: 0px 0 0 0;
padding:0;
width:699px;
height:75px;
text-align:left;
display:table;
}
#nav {
float:left;
background-color: #FFFF99;
height: 3em;
width: 9em;
display: block;
text-align: center;
font-weight: bold;
line-height: 3em;
border: .1em solid #dcdce9;
}
<div id="top">
<span id="nav"><a href="index.html" class="menu a">Home</a></span>
<span id="nav"><a href="index-1.html" class="menu a">Company</a></span>
<span id="nav"><a href="index-2.html" class="menu a">Services</a></span>
<span id="nav"><a href="index-3.html" class="menu a">Products</a></span>
<span id="nav"><a href="index-4.html" class="menu a">Contacts</a></span>
</div>
(I removed the 37px tall spacer image.)
As of right now it is aligned to the top left of the "top" div it is in. How do I make it align to bottom right? floating right reverses the link orders.
Code: