开发者

jquery ui tab with points

开发者 https://www.devze.com 2022-12-13 17:40 出处:网络
Any idea how i can get rid of the three dots that appear on this default jquery ui tab. I\'m thinking its something to do with the css sheet, but i\'m unsure which element to modify. Has anybody else

Any idea how i can get rid of the three dots that appear on this default jquery ui tab. I'm thinking its something to do with the css sheet, but i'm unsure which element to modify. Has anybody else seen this?

jquery ui tab with points

The code (all regular enough)

<div id="tabs">
    <ul>
        <li><a href="#info">Info</a></li>
        <li><a href="#map">Map</a></li&开发者_运维知识库gt;
        <li><a href="#prereg">Pre-registration</a></li>
        <li><a href="#results">Past Results</a></li>
    </ul>
    <div id="info">
        <p>First tab is active by default:</p>
        <pre><code>$('#example').tabs();</code></pre>
    </div>
    <div id="map">
        Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
        Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
    </div>
    <div id="prereg">
        Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
        Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
        Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
    </div>
    <div id="results">
        Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
        Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
        Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
    </div>
</div>


Add this to your CSS:

#tabs ul { list-style: none }

If it still is there, either trace what CSS rule is turning the list-style back on, or add !important after the word none


More info about your css would be needed, but looking at what you have so far, adding this to your css sheet may work:

#tabs ul{list-style-type:none;}


its easy use this css

#tabs li{
 list-style-type: none !important; 
}
0

精彩评论

暂无评论...
验证码 换一张
取 消