I am facing an issue with an asp menu I am using. It is automatically inserting style="width:3px;" into my menu table tds, creating an unsightly gap between my tabs. Instead of asking our developer to customize the menu just to fix this cosmetic flaw, I am exploring removing this inline style with jQuery.
Below is a simple example:
<table border="1" cellspacing="0" cellpadding="0">
<tr>
<td style="width:3px;">hello world</td>
</tr>
</table>
In jQuery, I can remove all tds with the style attribute by using the following code:
$('td').removeAttr('style');
So, my question is, how can I specifically target the inline style that only contains 3px?
Take a look at my live demo here: http://jsfiddle.net/n9upF/