Following previous advice and experimentation, I have two images and some text I wish to align. I wish to have the images, one on the left and one on the right and with the text centred between the two (which I have achieved).
However, the text is aligned to the baseline of the images and though I have defined the line-height and the vertical-align within the container div FOOTER, I cannot get the text to be vertically aligned. I have tried various combinations but to no avail.
The relevant HTML is...
Any help gratefully received!
However, the text is aligned to the baseline of the images and though I have defined the line-height and the vertical-align within the container div FOOTER, I cannot get the text to be vertically aligned. I have tried various combinations but to no avail.
Code:
#footer
{
height: 32px;
text-align: center;
line-height: 32px;
vertical-align: middle;
}
.left {left: 0}
.right {right: 0}
Code:
<div id="footer">
<img class="left" src="images/vhtml.png" alt="Valid HTML 4.01 Transitional">
<a href="[WEB_ADDRESS]">[TEXT HERE]</a> | Copyright © 2008
<img class="right" src="images/vcss.gif" alt="Valid CSS!">
</div> <!-- End FOOTER div -->