Firefox and Google do not show the body background image solution

Source: Internet
Author: User

The style is as follows only IE can display the background picture, Firefox and Google and other browsers are not displayed, the solution is as follows, interested friends can refer to ha, I hope to help you

Copy Code code as follows:
Body {
Background: #F5F5F5 URL (.. /images/a_55.jpg) No-repeat bottom left;
margin:0;
padding:0;
font-family: "Microsoft Ya Hei", "Song Body", Arial, Verdana, Sans-serif;
font-size:12px;
Font-weight:normal;
Color: #FFF;
Text-align:left;
}


Style as above, only IE can display background pictures, Firefox and Google and other browsers are not displayed.

Solution:

Copy Code code as follows:


Html,body {
Background: #F5F5F5 URL (.. /images/a_55.jpg) No-repeat bottom left;
margin:0;
padding:0;
font-family: "Microsoft Ya Hei", "Song Body", Arial, Verdana, Sans-serif;
font-size:12px;
Font-weight:normal;
Color: #FFF;
Text-align:left;
}

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.