Fontfont-familyfont-sizefont-weightfont-stylefont-variant in addition, font-size-adjust and font-stretch have been removed from CSS 2.1 and will no longer be learned.
Font-family (specified font ):
If the subject name contains spaces or other special character
/nav-abouthover.gif) top left no-repeat;}
li.work {background:url (img/nav-work.gif) top left no-repeat;}
Li.work:hover {background:url (img/nav-workhover.gif) top left no-repeat;}
. Nav Li a {display:block; padding:15px 0px 0px 50px; color: #000; font-size:18px; font-family:arial; height:35px; Text-deco Ration:none;}
. Nav li a:hover {color: #C00;}
In a more granular web design, menus can become more
Do the project encounter a strange problem, the same code, in FF and IE7 above the page display normal, but IE6 no matter how to change all do not work, originally thought is IE6 some floating bug caused, the result got a long time also not, later inadvertently put the original set font-family: "Blackbody" Attributes are removed, everything is back to normal ...To search the Internet, there are really a lot of people encounter the same problem, the fo
Web page font style Chinese blackbody: StheitiWeb page font style Chinese italic: StkaitiWeb page font style xxfareastfont-Arial: StsongWeb page font style Chinese imitation: stfangsongWeb page font style bold: SimheiWeb page font
The computer doesn't say what's wrong. Look at a lot of pages, fonts have changed. It's not the song body. It looks rather ugly.
Take Sohu for a while and see it on my computer. Maybe it's not very comfortable to see. And see NetEase did not have such a problem.
Because the guess is that Sohu didn't set the font for the page. Simply look at their CSS code (without looking at it). Found that there really
Here is an explanation of the difference between the CSS font units and the implementation of the font response style. The content is very good, now share to everyone, but also for everyone to make a reference.
Problem Scenario:
How can I set the font size in different window sizes and the readability of different mo
I can't tell you what went wrong on the computer. I saw a lot of webpages and the fonts changed. It wasn't Song. It looked ugly.
Take SOHU for example. It seems like this on my computer. It may not be easy to see, but Netease does not.
It is assumed that SOHU does not set the font of the webpage. I briefly read their CSS Code (not detailed ). I found no font-fa
[Issue 1] CSS color assignment technology for small icons in PNG format, Issue 1. png
Preface
This is a black technology that allows you to change the color of small icons without looking for a designer! @ Zhang xinxu authorized to share this article.
This article is edited by @ cactus recommendation
The text starts from here ~I. Seeing is believing
Order:
Font-size Line-height font-family
{ font-size: 12px} { font:}
Where Line-height is a Text property , but it can also be used as a complement to the Font-size value , separated by a slash (/) . 200%/1.2
When you use the shorthand propert
Generally set the font, individuals like to use Chinese, such as: font-family: "Microsoft ya Black"; but occasionally there will be a problem with the font display garbled after setting Workaround "1": Look at the first line of your CSS file there are: @charset "utf-8"; if there is, save as once, the saved file enco
Speaking of CSS in the font-family, I believe a lot of friends often use, but do not know when you encounter the reference to Chinese fonts when you will write?Recent special attention has been paid to discovering the most commonly used basic three types:
1, direct Chinese;
2, English form;
3, Unicode code;
The first two forms are well understood, what do Unicode codes mean? Here's a b
Source URL: http://www.cnblogs.com/jian1982/archive/2010/07/03/1770349.htmlCSS defines the font line spacing line-height:xxpx;CSS defines font spacingLet's take a look at the text properties of CSS, or we'll start with a detailed list of text properties:
Property
attribute meaning
Property value
CSS defines the font line spacing line-height:xxpx;CSS defines font spacingLet's take a look at the text properties of CSS, or we'll start with a detailed list of text properties:
Property
attribute meaning
Property value
Word-spacing
the expanded C section.It is necessary to note that extending part B in GB18030 is not a mandatory criterion.If you want to see the standard text for GB18030, visit the strong-label reading in http://www.gb168.cn.If you want to know the contents of Unicode, please visit http://www.unicode.org.Now correct a common error on the Web:gb18030-2000 and gb18030-2005 do not support single-byte euro symbolsThe following pages are related to Simplified Chinese:936 gb2312 Simplified Chinese (GB2312) ————
of Unicode, please visit http://www.unicode.org.Now correct a common error on the Web:gb18030-2000 and gb18030-2005 do not support single-byte euro symbolsThe following pages are related to Simplified Chinese:936 gb2312 Simplified Chinese (GB2312) ———— is actually GBK10008 x-mac-chinesesimp Simplified Chinese (MAC)20936 x-cp20936 Simplified Chinese (gb2312-80)50227 x-cp50227 Simplified Chinese (ISO-2022)51936 EUC-CN Simplified Chinese (EUC)52936 hz-gb-2312 Simplified Chinese (Hz)54936 GB18030 S
HTML, CSS, font-family: English name of the Chinese font (),
SimSun
Simhei
SimHei
Microsoft YaHei
Microsoft is in bold
Microsoft JhengHei
Xin
NSimSun
New body
PMingLiU
Fine body
MingLiU
Standard entity
DFKai-SB
Imitation Song
FangSong
Body
Kai
text.Use EM to set font sizeMany developers use EM units instead of pixels to avoid problems with text that cannot be adjusted in Internet Explorer. It is recommended to use EM size units. 1em equals the current font size. If the font-size of an element is 16 pixels, then for that element, 1em is equal to 16 pixels. When you set the
A general configuration module has been developed recently. In the configuration module, you must configure system menus, function modules, and permission resources. icons are essential for a better user experience! There are more and more icons in the css style made by the artist. It is almost impossible to manually write the icon name. So we have this function:
In CSS files, we often see that some font names are garbled, because the authors directly write the names of Chinese fonts into Chinese, in addition, when I upload or copy a copy, it turns into Garbled text. To avoid this problem, we recommend that you use the English name of a Chinese font when using a Chinese font in
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.