编辑器中显示font property font-family has not generic default
来源:互联网 发布:淘宝卖家设置花呗支付 编辑:程序博客网 时间:2024/06/13 04:00
解决编辑器中显示font property font-family has not generic default
原因:编辑器检查CSS代码时,在font-size属性显示font property font-family has not generic default,编辑器是根据W3C标准来提示的,是因为没有定义generic -family,即:字体的所属风格。
例如:serif、sans-serif、cursive
解决方法:
加上generic -family,中文用serif或sans-serif
body{font-family:"宋体",serif;}
注意:设置字体一般用英文,但是最好使用UNICODE编码。
转载:http://blog.csdn.net/gxdvip/article/details/51830279
阅读全文
0 0
- 编辑器中显示font property font-family has not generic default
- 解决font property font-family does not have generic default
- 解决font property font-family does not have generic default
- 解决font property font-family does not have generic default
- IE中 font-family 显示不正常问题
- font-family,font-face
- font-family
- font-family
- font-family
- font-family
- css中font的简写方法(包括font-weight,font-size,line-height,font-family)
- style中font-family中几种值的含义
- css中中文字体(font-family)列表
- css中font-family的中文字体
- css中中文字体(font-family)列表
- css中中文字体(font-family)列表
- css中font-family的中文字体
- css中font-family的中文字体
- bootstrap警告框组件
- 语言小知识-java中将 两个int[] 型数组 整合到一起的方法
- How Many Tables
- nyoj-366 D的小L
- HTTP请求报文和HTTP响应报文
- 编辑器中显示font property font-family has not generic default
- 第七届蓝桥杯决赛JavaB组第三题_打靶
- HTML关键字<2>
- bootstrap巨幕
- Jump Game
- Good Luck in CET-4 Everybody! (巴什博弈 bash game)
- [Maven] resource配制include与exclude的关系
- 自定义ViewPager
- 《Data Mining》学习——FP-growth算法