开发者

I have a dojo tabcontainer that has two tabs, each tab (ie contentPane) has a title, how do I make the title bold?

I have a Dojo TabContainer that has two tabs, each tab (ie ContentPane) has a title, how do I m开发者_JAVA技巧ake the title bold?


There are three ways of doing it:

  • Inline it; ex: <div dojoType="dijit.ContentPane" title="<span style='font-weight:bold'>my title</span>"></div>
  • Change CSS .tabLabel { font-weight: bold }
  • If no access to CSS, query that individual element and replace it with dojo.style()
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜