Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS image not appearing after url

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #31466
    roncito
    Member

    sorry im a newby here but i cant get my image to appear when i write it up in css as url? dont know if i need to be online so that the url works? any help would be welome.
    thanks

    #63190
    jamygolden
    Member

    As @ChristopherBurton said, it all depends where the file is. I’m pretty sure you aren’t giving the correct url to your css file.

    #62509
    roncito
    Member

    thanks. Im just wondering if I need to record something on my html? or can i can i just pull of the file where it is? it doesn’t seem to be pulling it up?

    this is what i have:
    body {color: white; font: 14px Georgia, serif; background: #014cb8; url(/images/background.jpg)background-position:fixed no-repeat; }

    thanks again

    #62384
    Sirlon
    Member

    Should be:

    body {color: white; font: 14px Georgia, serif;background:#014cb8 url(/images/background.jpg) no-repeat fixed;}

    #62286
    roncito
    Member

    (Problem solved) thanks so much for the helpful advice.noticed that I closed in the command, shouldn’t have. Thanks.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.