jasondubya
11-23-2003, 12:17 AM
I am having the most difficult time getting text to align to the bottom of a div.
The page that I am currently working on is located at http://janix.net/newsite/newsite2.html
Here is the code that I am working with:
HTML:
<div class="top">
<span class="top_nav">
<a href="http://janix.net/" class="nav_top">Home</a>
<a href="http://janix.net/sitemap.php" class="nav_top">Site Map</a>
<a href="http://janix.net/contact.php" class="nav_top">Contact Us</a>
<a href="http://janix.net/search.php" class="nav_top">Search</a>
</span>
</div>
And the CSS associated with it:
.top {
width: 700px;
height: 70px;
background-image: url( img/logo.gif );
background-repeat: no-repeat;
background-position: 0% 50%;
text-align: right;
vertical-align: bottom;
padding-bottom: 5px;
}
A.nav_top {
font-weight: bold;
color: #ffcc33;
text-decoration: none;
padding: 5px;
vertical-align: bottom;
}
A.nav_top:hover {
border-top: 2px solid #ffcc33;
color: #ffffff;
}
Can anyone tell me what I am doing wrong?
The page that I am currently working on is located at http://janix.net/newsite/newsite2.html
Here is the code that I am working with:
HTML:
<div class="top">
<span class="top_nav">
<a href="http://janix.net/" class="nav_top">Home</a>
<a href="http://janix.net/sitemap.php" class="nav_top">Site Map</a>
<a href="http://janix.net/contact.php" class="nav_top">Contact Us</a>
<a href="http://janix.net/search.php" class="nav_top">Search</a>
</span>
</div>
And the CSS associated with it:
.top {
width: 700px;
height: 70px;
background-image: url( img/logo.gif );
background-repeat: no-repeat;
background-position: 0% 50%;
text-align: right;
vertical-align: bottom;
padding-bottom: 5px;
}
A.nav_top {
font-weight: bold;
color: #ffcc33;
text-decoration: none;
padding: 5px;
vertical-align: bottom;
}
A.nav_top:hover {
border-top: 2px solid #ffcc33;
color: #ffffff;
}
Can anyone tell me what I am doing wrong?