This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a jsp page which has a top menu bar as below
The problem is that the horizontal top menu bar does not show background color. I tried to put background color in "menu ul" and "menu li", well, background color shows where there are words like Home, Logout. What I want is the whole top menu (width is 100%) has the color, not only the link part.
And I found when I added "float:right" to the menu as below:
The background color showed, I don't know why, but the words "Home, logout..." are left align, not right align which I want, I tried "text-align" which does not work as well.