Grow your CSS skills. Land your dream job.

Help!! Background image issue!!

  • # March 19, 2009 at 1:30 pm

    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

    # March 19, 2009 at 1:41 pm

    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.

    # March 19, 2009 at 1:59 pm

    Micha, please do not double post.

    Rob
    # March 19, 2009 at 2:48 pm

    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.

    # March 19, 2009 at 2:58 pm

    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

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".