Font-family: bold; causes the CSS definition to not work

Source: Internet
Author: User

CSS file font-family: "Bold", which will cause the subsequent CSS definition all do not work.
Just put font-family: "Blackbody";
Change into
Font-family: blackbody;
Just do it, remove the space and double quotation marks. This problem only exists in the IE6.

Some of the answers found on the Internet

The font-family attribute of a container writes "song Body", and IE6 does not parse "" number, so it causes the center of the whole page to fail.

CSS in the specified font-family attribute is bold, young circle, Microsoft ya Black, and so on, one can not display normally (IE7), and finally found that the original CSS file is gb2312 code, save as UTF-8 after the change garbled Chinese , then font-family specify the Chinese font will be OK ~ so that the browser MS is to press UTF8 to parse the CSS file

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.