|
本帖最后由 qiuhao1112 于 2016-6-2 23:03 编辑
- <ex>Initially, they defined the <b>personality traits</b> of those with this syndrome: Authoritarians are extremely conventional in their attitudes and morality.</ex>
复制代码
此时显示效果应为:
Initially, they defined the personality traits of those with this syndrome: Authoritarians are extremely conventional in their attitudes and morality.
代码以及显示效果情况如上所示,请问在这种情况下,怎样通过修改css或者代码等方法才能使其仅仅显示黑体部分(即仅仅标签<b></b>里的包括的部分),其它部分一概不显示,即只显示出:
personality traits
我通过设置 .ex{display:none} 和 .b{ display:block !important;} 后居然全部不显示(显示空白),请问我该怎么弄? |
|