This is my menu with all in Capitals
<ul class="tabgic">
<li rel="item_227" class="">
<div>
<div> <a class="menu_link_2" href="#">ACCIDENTAL DAMAGE AND PROPERTY</a> </div>
</div>
</li>
</ul>
I want to use jQuery and Capitalise everything except the word and so the output will be
Accidental Damage and Property
How can I do this?
I was looking at this but not sure if this can be modified easilly?
You could use a regex.
jsFiddle.
You can’t do it with CSS alone (not with the markup you currently have at least).
jsFiddle.