How to add a background image to a PHP file

Source: Internet
Author: User
Tags php download
I add PHP to the HTML file, but I can't show the effect of the background in the browser (not with CSS, maybe I won't)


Reply to discussion (solution)

Not with CSS? Stick to your code and see.

It's a bit confusing. Please restore the entire process in detail. How does HTML add php?

HTML to manipulate the display effect or you have to use Js/jquery to control. And finally the HTML or CSS.

Check to see if the IMG src is correctly read to Bgimage.

    

Background-image


The path in PHP is a jump based on the address of the current execution file.
See if the call path to the CSS you are calling can be run in the current PHP file.
Also, make sure that your CSS is written correctly.

Please write a whole piece of code, just take it to me!

See if there is an error in the path to the picture!

The original is Firefox does not give force, can not display

PHP download images from CSS files
Http://3aj.cn/php/33.html

  • 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.