Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. CSS

CSS

Scheduled Pinned Locked Moved ASP.NET
csshelpquestion
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Subin Alex
    wrote on last edited by
    #1

    When i use the css(cascading style sheets) in my web page the background image can't b displayed but the color does, help me?

    D B S 3 Replies Last reply
    0
    • S Subin Alex

      When i use the css(cascading style sheets) in my web page the background image can't b displayed but the color does, help me?

      D Offline
      D Offline
      dream_liner_7e7
      wrote on last edited by
      #2

      without code no 1 can understand wht is yr prob

      1 Reply Last reply
      0
      • S Subin Alex

        When i use the css(cascading style sheets) in my web page the background image can't b displayed but the color does, help me?

        B Offline
        B Offline
        Brij
        wrote on last edited by
        #3

        Please check the path of Image.Give fullpath.

        Cheers!! Brij

        D 1 Reply Last reply
        0
        • B Brij

          Please check the path of Image.Give fullpath.

          Cheers!! Brij

          D Offline
          D Offline
          doWhileSomething
          wrote on last edited by
          #4

          If the image is relative to the css or in an images folder inside the given theme folder, it should look like this: /* images folder located inside theme folder */ background-image:url("images/yourimage.jpg"); /* images folder located in root of app */ background-image:url("/images/yourimage.jpg"); Hope this helps

          My Personal Site

          1 Reply Last reply
          0
          • S Subin Alex

            When i use the css(cascading style sheets) in my web page the background image can't b displayed but the color does, help me?

            S Offline
            S Offline
            Samer Aburabie
            wrote on last edited by
            #5

            As you have been told ... image pathes in css files are relative pathes ... depending on where you are using the image currently (herarichally in folders) ... so the same image you can see it in a page in folder1 and not in folder1/folder2... you can manage using absoulte path to be loaded in runtime in your base page if you have one for example ...

            Sincerely Samer Abu Rabie Note: Please remember to rate this post to help others whom reading it.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups