• Annyeong56

    (@annyeong56)


    Hi,

    I want to achieve something really simple, but for some reason which doesnt work : add a background image.

    So, this is what I typed on my css sheet :

    #my_id{
    background: url(images/myimage.png);
    }

    That doesnt work. When I type instead at the same place :

    #my_id{
    background-color: blue;
    }

    it works.
    So, I assume it is a typo or something, but I can’t manage, and I’m getting really upset to lose so much time over something that simple *grr*
    any idea what I did wrong ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Annyeong56

    (@annyeong56)

    ok it must be a problem with writing the url, because firebug tells me : failed to load the given url.

    Any clue how to correctly write the url ?
    in my theme style.css, the url is written exactly the way I wrote it above, and the image name is correctly spelt as well :-\

    Thread Starter Annyeong56

    (@annyeong56)

    Come on guys, no CSS master around ? I thought this would be a very basic issue to solve for a CSS master…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to add background image ?’ is closed to new replies.