我想让标题文字变得更大胆但是我无法做好请查看我的代码并帮助我在代码中出错?有没有其他办法可以帮助我...
<div data-role="header" data-position="fixed" data-transition="none" data-theme="none" class="divimg1">
<div class="ui-grid-b">
<div align="center" class="ui-block-a" style="width:20%" onclick="home()">
<div align="center" >
<span><img src="../DCBImages/Default_HomeBtn.svg" /></span>
</div>
</div>
<div align="center" class="ui-block-b" style="width:60%">
<h2 class="fontfamily" >Account Summary</h2>
<!-- / This account summary text is not getting bolder ?? -->
</div>
<div align="center" class="ui-block-c" style="width:20%" onclick="logout()">
<div align="center">
<span><img src="../DCBImages/Default_LogoutBtn.svg" /></span>
</div>
</div>
</div>
</div>
谢谢
答案 0 :(得分:0)
为什么不写这样的
<h2 class="fontfamily" ><strong>Account Summary</strong></h2>
修改强>
试试这个
<h2 class="fontfamily" style="font-weight:bold !important">Account Summary</h2>
答案 1 :(得分:0)