Vertical-Align Not Working on Horizontal Menu
-
I’ve integrated a horizontal menu in my header. The header’s image is the traditional background image and not an actual img tag.
Whenever I try to get the horizontal menu to align bottom using vertical-align command it doesn’t work. Instead it stays put at the top of the page.
Can anyone help me solve this problem?
Aurum
Relevant CSS excerpt:
/* Horizontal Menu Structure */
.path {
vertical-align: bottom;
color: #FFF;
font: normal 1.1em Verdana,sans-serif;
padding: 4px 12px;}
.path li,.path ul {display: inline;}
.path a {
color: #FAFAFA;
text-decoration: none;
margin-right: 15px;
}
.path a:hover {
color: #FFE;
text-decoration: underline;
}And now for the Header.php excerpt:
<div class=”header”>
<div class=”path”><UL>Menu links and stuff</UL>
</div>
</div>
- The topic ‘Vertical-Align Not Working on Horizontal Menu’ is closed to new replies.