treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Help!! Background image issue!!

  • Hi! my name is Raymi and i'm working on a psd for a hotel so i use my web developer toolbar to edit my css. So i have a bakcground image that i have to put to my <a> tags in my navigation bar and in the preview they show just fine but when i reload the page to see it in firefox it just doesn't show i've tried eveything please i could use some help

    this is my css:

    .nav a{
    background:url(images/bgMenu.jpg)repeat-x;
    width:91px;
    height:37px;
    text-decoration:none;
    padding:6px;
    font-size:16px;
    color:#357fb6;
    }
    some help will be bery much appreciated
  • Without a link it's difficult to say.

    You do realise that the web developer toolbar doesn't actually edit your CSS file? You still have to add those changes to the file itself.


    Otherwise, if I had to guess I would say check the path to your image, relative to your CSS file.
  • Micha, please do not double post.
  • Apostrophe is right...

    Also try adding a space background:url(images/bgMenu.jpg)[space]repeat-x; where I added the word.

    Please dont use caps in your titles especially when you double post, people on the forums are quite capable of finding your posts.

    I deleted your other post, and edited this one.
  • thank you!!! good quick guess too little dots makes all the difference thanks!!! very much :D :oops:


    oh sorry it won't happend again (the double post thing) :D