安卓网络浏览器 B 标签不起作用
android web browser b tag not working
我在Android JellyBean中使用WebView。
我有风格元素:
<style type="text/css">
div.d1{margin-right:0.74791664in; margin-left:0.74791664in;}
div.d2{margin-right:0.74791664in; margin-left:0.74791664in;max-height:10.820139in;min-height:10.820139in;}
p.p1{text-align:justify;hyphenate:auto;font-family:David;font-size:12pt;}
p.p2{text-align:center;hyphenate:auto;font-family:David;font-size:12pt;}
p.p3{text-align:justify;direction:rtl;hyphenate:auto;font-family:David;font-size:8pt;}
p.p4{padding-right:-4pt;text-align:center;direction:rtl;hyphenate:auto;keep-together.within-page:always;keep-with-next.within-page:always;font-family:David Bold Bold;font-size:36pt;}
p.p5{text-indent:-18pt;padding-right:35pt;text-align:justify;direction:rtl;hyphenate:auto;keep-together.within-page:always;font-family:David;font-size:12pt;}
p.p6{padding-left:90pt;padding-right:82pt;text-align:justify;direction:rtl;hyphenate:none;font-family:David Bold Bold;font-size:12pt;}
p.p7{text-align:justify;direction:rtl;hyphenate:auto;keep-together.within-page:always;font-family:David;font-size:12pt;}
p.p8{padding-left:90pt;padding-right:82pt;text-align:justify;hyphenate:none;font-family:David Bold Bold;font-size:12pt;}
p.p9{text-align:justify;direction:rtl;hyphenate:auto;font-family:David;font-size:12pt;}
span.s1{font-family:David;}
span.s2{font-family:David Bold;font-weight:bold;text-decoration:underline;}
span.s3{font-family:David Bold;font-weight:bold;}
span.s4{font-family:Times New Roman;font-size:10pt;}
span.s5{white-space:pre-wrap;}
</style>
这是在 HTML 中:
<p class"p5">
<span class="s1">"why is the
<b>bold</b>
Not Bold???</span>
</p>
我的问题是粗体标签没有使文本加粗。为什么?
在谷歌浏览器中,它确实有效,但我需要它在Android WebView中工作。
你真的必须使用<b>
标签吗?您也可以使用 <strong>
.看看它是否有效。或者,您可以尝试这样的事情:
<p class"p5">
<span class="s1">"why is the
<span class="bld">bold</span>
Not Bold???</span>
</p>
然后在您的 CSS 上,添加:
span.bld{font-weight: bold;}
您必须用编码标签将文本换行,该文本必须加粗。使用<b>
而不是<b>
标记。
Here is <b> bold text </b>
相关文章:
- <选择>标签不起作用
- jQuery在<TR>TR折叠时标签不起作用
- Magento Jquery引导程序和原型冲突?导航标签不起作用
- Chart.js-悬停弹出-添加带值的标签-不起作用
- IOS Cordova/Phonegap 离线视频源标签不起作用
- Symfony - 嵌入表单中的食谱“添加新标签”不起作用
- jquery find() 和 remove() 脚本标签不起作用
- jQuery 按 ID 名称删除 img 标签不起作用
- 清除 DIV 标签不起作用
- jQuery 运行总计和输出标签不起作用
- 为什么我的 iframe 标签不起作用
- 安卓网络浏览器 B 标签不起作用
- 模式窗口上的标签标签不起作用
- 添加<李>jquery中的标签不起作用
- Vaadin标签不起作用
- Jquery click()事件对附加的HTML标签不起作用
- Jquery选择器对添加的标签不起作用
- 跨域Ajax的动态脚本标签不起作用
- jquery append和javascript appendChild对html标签不起作用
- 为什么click()对对象标签不起作用