Thanks to RandomUs 1r for this observation:
changing it to display: inline-block; solves this problem. - RandomUs1r May 14, '13 at 21:59
I tried this for the top bar of the navigation menu, as shown below:
First create the "li" element as follows:
display: built-in unit;
width: 7m;
text-align: center;
Then create the element "a"> as follows:
width: 100%;
Navigation links now have the same width as the text centered in each link.
user123318 Apr 05 '14 at 4:24 2014-04-05 04:24
source share