Previous Message
Next Message

Vertical alignment of text in my tabs not working

Sent by Aaron Cole on 6 May 2005 23:11


I've built a tabbed navigation that's works great as long as the text in 
all of the tabs is one line.  The problem is that I've been given a 
requirement to allow for two-line tabs as well.

When a tab is created with two lines, they no longer look uniform:

http://aaronc.stanford.edu/commonspot/navtest.html

I can add a "height" attribute to force the tabs to all be the same 
height, but then the text of the single-line tabs is not vertically 
aligned to the middle:

http://aaronc.stanford.edu/commonspot/navtest2.html

I would really like to have uniform tab height and middle vertical 
alignment for the text. Using "vertical-align: middle" doesn't seem to 
help at all.

Anyone have any suggestions?

Thanks,
Aaron


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message