So I have made several themes for my website and in preparation to really change things up with css, I have to remove a line break that was entered manually in my navigation links. This served to make the two lines which were then aligned right. To do the same thing now, I tried doing right align but to make it go on two lines I had to shrink the div to the perfect size that forced the unordered list to span two lines. Is there another way to do it? If I make my text smaller, it starts putting more links on the top line...
Do I make sense?
HTML:
CSS:
Do I make sense?
HTML:
Code:
<div id="menu">
<ul>
<li><a href="http://www.summitnorthwest.org/">Home</a></li>
<li><a href="http://www.summitnorthwest.org/sermonvideo/">Video Sermons</a></li>
<li><a href="http://www.summitnorthwest.org/sermonaudio/">Audio Sermons</a></li>
<li><a href="http://www.summitnorthwest.org/prayer/">Prayer</a></li>
<li><a href="http://www.summitnorthwest.org/collegiate/">Collegiate/Young Adult</a></li>
<li><a href="http://www.summitnorthwest.org/kids/">Kids/Youth</a></li>
<li><a href="http://www.summitnorthwest.org/contact/">Visit Us</a></li>
<li><a href="http://www.summitnorthwest.org/projects/">Projects</a></li>
<li><a href="http://www.summitnorthwest.org/mailinglist/">Mailing List</a></li>
<li><a href="http://www.summitnorthwest.org/giving/">Online Giving</a></li>
<li><a href="http://www.summitnorthwest.org/discussion/">Discussion Board</a></li>
<li><a href="http://www.summitnorthwest.org/pastor/">Notes from the Pastor</a></li>
<li><a href="http://www.summitnorthwest.org/links/">Links</a></li>
<li><a href="http://www.summitnorthwest.org/other/">Other</a></li>
</ul>
</div>
CSS:
Code:
#menu {
float: right;
margin: 0;
padding: 80px 55px 0 0;
}
#menu ul {
margin: 0;
padding: 0 10px 0 0;
list-style: none;
line-height: 20px;
text-align: right;
width: 605px;
background-color: black;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
filter: alpha(opacity=70);
-moz-opacity:0.7;
opacity: 0.7;
-khtml-opacity: 0.7;
}
#menu li {
display: inline;
}