Announcement Announcement Module
Collapse
No announcement yet.
url in css file Page Title Module
Move Remove Collapse
Search Search Module
Collapse

Advertisement Advertisement Module
Collapse

Featured Images Featured Images Module
Collapse

Mediabistro Creative Sites Mediabistro Creative Sites Module
Collapse
Latest Topics Latest Topics Module
Collapse

  • <b>
    Reply to How well do you see color? (fun & games)
    <b>
    I got to 22 on the first game. Some of those lighter squares really were difficult to spot.
    Today, 01:29 AM
  • grphxdsner
    Comment on Seriously? I hate printers.
    grphxdsner
    I think the fact that designia turned down two other quotes from them probably means they won't bend for a new client that they assume won't do a ton of business with them.
    Yesterday, 11:43 PM
  • grphxdsner
    Comment on Seriously? I hate printers.
    grphxdsner
    PrintDriver, you can definitely get general pricing I do it all the time... You simply ask what panel sizes they stock, or ask to price standard sizes that most large format shops can do. And I'm not...
    Yesterday, 11:41 PM
  • Chris Fuller
    Career switch advice
    Chris Fuller
    I've been a print designer for nearly 4 years now and im looking to switch into a new medium. I would like to move into either motion graphics or web. I already know the basics of after effects and a...
    Yesterday, 11:33 PM
  • grphxdsner
    Reply to critique my branding attempt
    grphxdsner
    I wouldn't say that this is horrible by any means, but I don't think that the design lends to the name.

    When I think of "creative liftoff" I think of motion, fluidity, ideas and...
    Yesterday, 11:08 PM
Advertisement Advertisement Module
Collapse

Sponsors Sponsors Module
Collapse

X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • url in css file

    Need help with a background image in the CSS file. I have just tried uploading the site I am doing but the background images wont work. The only thing it can be is the url in the style sheet.

    The image path will only work if set out in the manner:

    Code:
    background-image: url(


    It wont work like this:
    Code:
    background-image: url(318734_7189small.jpg);


    *I having included the rest of the code*
    Could that be the reason that is stopping it displaying when uploaded?


    Any ideas


  • #2
    are the image and the style sheet in the same folder?

    Comment


    • #3
      that's a path issue - if you have your images in a folder you need to point to that folder.

      includes won't make any difference as they are parsed as HTML. Are you testing locally? Have you cleared your cache?

      Comment


      • #4
        I agree. Make sure that your images are in the same folder as your css code, or try putting a slash in front of the filename, so it will be absolute in the main folder, which is what it looks like:

        Code:
        background-image: url(/318734_7189small.jpg);
        WordPress Designer and theme developer. KlongDesigns - helping bloggers and non-technical folks claim their space on the internet.

        Comment

        Mediabistro A division of Prometheus Global Media home | site map | advertising/sponsorships | careers | contact us | help courses | browse jobs | freelancers | content | member benefits | reprints & permissions terms of use | privacy policy Copyright © 2014 Mediabistro Inc. call (212) 389-2000 or email us
        Working...
        X