During my website redevelopment, I want to include simple links in the menu for users to easily open them in new tabs. Currently, a menu item looks like this:
<li class='menu-left-row' id='messages' onclick=\"javascript:showscreen_load('messages.php?sel=overview','messages','menu-left')\">
<div class='menu-left-picture'>
<img src='IMG/menu-left-messages.png'>
</div>
<div class='menu-left-item'>
Messages
</div>
</li>
I have set up a function that intercepts all links with the class 'toggle_reconstruct', so now I would like it to look more like this:
<li class='menu-left-row' id='messages'>
<div class='menu-left-picture'>
<img src='IMG/menu-left-messages.png'>
</div>
<div class='menu-left-item'>
<a class='toggle_reconstruct' href='/messages/'>Messages</a>
</div>
</li>
The issue is that the link styles the text of the menu item, making "Messages" bold and blue. With many different menu items each having unique styles, I am looking for a way to prevent the link from styling its content.
UPDATE: I was advised to use:
a:link {font-weight:inherit; color:inherit;text-decoration:none;}
Would this be a suitable solution?