为什么我不能把字体放到我的桌子上? [英] Why I can not at font into my table?
问题描述
我试图改变我的作业信息
表中的字体,但是它不起作用我尝试搜索google和youtube,但是我仍然不能。请帮帮我 !!
我的代码如下:
#content-area-job-details#site-content-job-details .entry-content table.job-table tbody {
font-family:Arial,Khmer!important;
$ b $ p
$ b $为什么不能正常工作?
解决方案您必须在css选择器之间使用逗号。正如其他人所说,重要的是拼写错误。此外,正如辐射所说,没有< tbody>
标签存在于您的页面或表格中,因此没有任何东西被css选中。另外从字体家族中删除高棉部分,因为它可能不被承认。
#content-area-job-details ,#site-content-job-details,.entry-content,table.job-table tbody {
font-family:Arial,Khmer!important;
$ b $ p
$ b 如果高棉是一种自定义字体,是否将它包含在您的网站中?由于安装在本地PC上的字体不能自动在互联网上工作。
以下是一个例子:
https:// jsfiddle.net/q6z5wmp8/
I am trying to change the font in my Job Information
table, but it doesn't work I try to search google and youtube but I still can not.who can help me please !!
My code is as follows:
#content-area-job-details #site-content-job-details .entry-content table.job-table tbody {
font-family: Arial,Khmer !important;
}
Why doesn't this work?
解决方案 You have to use commas between the css selectors. And as the other people say, important was spelled wrongly. Furthermore, as radiation said, no <tbody>
tag is present in your page or table, therefore nothing is selected by the css. Additionally remove the Khmer part from the font-family, as it might not be recognized.
#content-area-job-details, #site-content-job-details, .entry-content, table.job-table tbody{
font-family: Arial,Khmer !important;
}
If Khmer is a custom font, have you included it in your website? As a font installed on your local PC will not automatic work on the internet.
Here is an example:
https://jsfiddle.net/q6z5wmp8/
这篇关于为什么我不能把字体放到我的桌子上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!