
June 10th, 2003, 01:40 AM
|
 |
Contributing User
|
|
Join Date: Aug 2002
Location: Queensland, Australia
|
|
|
CSS Vertical Alignment
I have this code on a page...
<div id="nav-level1">
<img src="images/image.gif" width="84" height="24" border="0" />
<span class="level1"> <a href="#">Home</a> | <a href="#">About Us</a> | <a href="#">Research</a>
| <a href="#">Industry</a> | <a href="#">Media</a> | <a href="#">Education</a>
| <a href="#">Enquiries</a></span>
</div>
Through CSS, the div has been given a height of 24. The span has had it's font size set to xx-small. Both the IMG and SPAN object are set to float left.
My problem is that I want the contents of SPAN to sit along the bottom edge of the DIV instead of along the top. I've tried vertical-align baseline for the DIV and SPAN but it had no effect.
Any ideas what the correct way to do this is?
__________________
Ooh, they have the Internet on computers now!
|