我有最奇怪的问题.我似乎无法改变段落中的字体,无论我操作chrome dev工具中的样式有多少.我取消选中所有字体行,它仍然显示我在标题中使用的奇怪字体.我添加了我想要的字体(arial)作为内联元素样式,几乎在任何其他地方,仍然是奇怪的字体.我怎样才能找出问题所在.我不得不说我确实使用了别人写的样式表.但是,如果我取消选中chrome中的所有行并且没有结果,我怎么知道怎么回事....另外一件事,在页面的不同部分显示arial字体没有问题.
它让我发疯...
代码分散了.相关段落是:
<div id="last">
<div id="info">
Run Code Online (Sandbox Code Playgroud)
<a href="http://xxxxxx.com"><img src="images/logo.png" /></a>
<p style="margin-top:15px; font:Arial, Helvetica, sans-serif;">
xxxxx is an initiative of <a href="http://xxxxx.com">xxxxxx.com</a>, an organization committed to teaching and inspiring people of all ages about Judaism and Israel.<br /> For more information, questions or inquiries, please email <a href="xxxxxxxxxx">xxxxxx.com</a> </p>
</div>
Run Code Online (Sandbox Code Playgroud)
尝试更改正文和#last #info的字体以及内联样式,如您所见.
更改
font: Arial;
Run Code Online (Sandbox Code Playgroud)
至
font-family: Arial;
Run Code Online (Sandbox Code Playgroud)