background-image property of CSS not working in Code Igniter

Discussion in 'PHP' started by minhazikram, Sep 7, 2012.

  1. #1
    In css file of my Code Igniter project, if i try to include any image file as background then it is not working.

    background-image(file name). The image is not displayed. Is there any solution?
     
    minhazikram, Sep 7, 2012 IP
  2. Gigaports

    Gigaports Peon

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    background-image: url(image.jpg) !important;
     
    Gigaports, Sep 7, 2012 IP
  3. minhazikram

    minhazikram Greenhorn

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3

    This is not a valid answer and i have tried this. but this doesnot work. Any one CodeIgniter expert please help me. How to make a background-image(file name) work in code Igniter.
     
    minhazikram, Sep 7, 2012 IP
  4. Alex Roxon

    Alex Roxon Active Member

    Messages:
    424
    Likes Received:
    11
    Best Answers:
    7
    Trophy Points:
    80
    #4
    This really has nothing to do with CodeIgniter. Most likely, it's going to be an issue with the paths. You're better off using a DOM inspector (like Firebug) to inspect it.
     
    Alex Roxon, Sep 9, 2012 IP