View Full Version : Aligning Text in the middle vertically.
Wayne Luke
08-31-2005, 05:12 AM
I am trying to align the text in my navbar in the middle vertically. I added "valign=middle" to the table cells and it didn't work. I also added "vertical-align:middle;" to the appropriate class and it didn't work. Any ideas?
You can see my navbar at: http://www.cohcos.com/forum.php
Boofo
08-31-2005, 05:16 AM
Try this:
text-align: center
Wayne Luke
08-31-2005, 05:22 AM
Try this:
Text-align is for horizontal centering not vertical centering. How would that help what I want to do?
<edit>Added text-align:center to the class and there was no change</edit>
Boofo
08-31-2005, 05:29 AM
My mistake. I didn't read your request right.
Could you use class="inlineimg" for text, even though it is not an image?
Wayne Luke
08-31-2005, 05:43 AM
Actually that worked but not by adding it to the text. I added images to the navbar and had to add class="inlineimg" to each of them. Now it is centered.
Boofo
08-31-2005, 05:57 AM
You're welcome (for pointing you in the right direction anyway). ;)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.