i am using jquery ui tabs for my own custom image gallery, so i开发者_如何学C didn't load the css it comes with. in firefox there is nothing wrong, but in IE and chrome there is this dash character.
in the view source you don't see it, but Inspect Element in chrome shows me:
<li class="ui-state-default ui-corner-top"><a href="#tab-9">_</a></li>
I tried doing something like .ui-corner-top{display:none !important;}
but that kills off the tabs completely.
There is a solution.
<a href=""><!--
spaces here
-->Link text<!--
spaces there
--></a>
You just have to comment out all spaces before and after the main link text.
You could try adding some extra jQuery after you initiate the tabs to remove the character:
$('.ui-corner-top').find('a').html(' ');
精彩评论