On 01/28/2011 02:09 AM, 李硕 wrote:
Maybe this will help:
remove the "float:left" from the "#nav a.ot"
and add it to the "li" element immediately out of the "a" element
then add "display: table-cell;vertical-align: middle;text-align:
center;" to the "#nav a.ot"
otherwise, see this page I've made
<http://ffb-all.com/my-test/vertical-middle-a.html>
Li Shuo
I had to look up that table-cell.
That is very cool. Thanks for showing me that :D
wade
--
Registered Linux User: #480675
Registered Linux Machine: #408606
Linux since June 2005
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/