I am trying to create this navigation menu (green highlight - active page, gray - hover state):

I can do a parallelogram with the following CSS:
ul#nav li a { text-decoration:none; padding:4px 10px; border-radius:3px; transform: skew(-10deg); -o-transform: skew(-10deg); -moz-transform: skew(-10deg); -webkit-transform: skew(-10deg); color:#757575; } ul#nav li a:hover { background:#f3f1eb; } ul#nav li a.current-menu-item { color:#fff; background:#5d9732; } ul#nav li a.current-menu-item:hover { background:#5d9732; }
Unfortunately, this leads to the fact that the text is also distorted, and italics appear:

Here jsfiddle shows the setup (although skew does not work in jsfiddle): http://jsfiddle.net/K3bQJ/4/
Is there a way to prevent text skew so it doesn't appear in italics? I download jQuery, but would prefer to avoid this, or at least have a useful CSS backup.
Thanks for any advice!
css css3 background nav
Rj
source share