Hi
On my web page ( <!-- m --><a class="postlink" href="http://home.clara.net/derrett/test2/DivIndex.htm">http://home.clara.net/derrett/test2/DivIndex.htm</a><!-- m --> ) how can I vertically align the text inside each list item in the horizontal list?
This is the css:
#navcontainer ul {
padding: 0;
margin: 0 auto;
width: 580px;
}
#navcontainer li a{
width: 115px;
height: 29px;
border-left: 1px solid #585858;
color: #585858;
text-decoration: none;
display: block;
text-align: center;
/* attempt to get text vertically aligned*/
vertical-align: middle;
}
All help appreciatedHow about
line-height: 29px;
Best Wishes,
DavidThanks very muchno problem
On my web page ( <!-- m --><a class="postlink" href="http://home.clara.net/derrett/test2/DivIndex.htm">http://home.clara.net/derrett/test2/DivIndex.htm</a><!-- m --> ) how can I vertically align the text inside each list item in the horizontal list?
This is the css:
#navcontainer ul {
padding: 0;
margin: 0 auto;
width: 580px;
}
#navcontainer li a{
width: 115px;
height: 29px;
border-left: 1px solid #585858;
color: #585858;
text-decoration: none;
display: block;
text-align: center;
/* attempt to get text vertically aligned*/
vertical-align: middle;
}
All help appreciatedHow about
line-height: 29px;
Best Wishes,
DavidThanks very muchno problem