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. Background images not displayed in asp.net page

Background images not displayed in asp.net page

Scheduled Pinned Locked Moved ASP.NET
helpcsharpjavascripthtmlasp-net
6 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.
  • K Offline
    K Offline
    keniagm
    wrote on last edited by
    #1

    Hello everybody! I'm working on an asp.net 4 project in which I'm using a jquery plugin for displayig bubble popups on mouse over on certain elements. I started facing a problem with the borders of the plugin not displaying, and now after a while trying to figure what was wrong, I've narrowed the issue to the background images that are set as inline styles on the border elements not being displayed. I tried somethning more simple like,

    testing

    and voila! doesn't work. It's easier to solve it now i think but it's freaking weird. The image exists and the span is displayed but no image on the background. I tried an empty HTML file with just that same code

    jQuery Bubble Popup - How to make a selectable Bubble Popup when mouse is overy

    testing

    and here the image is displayed! Both pages at the same level and with exactly the same code for the span element, the only diference is that the real page is an aspx and has a lot more content. Also when i look in Firebug and roll the mouse over the image on the styles panel to the right, the preview of the image is shown for the test file, but when i do it on real page, then it says that it can't find the image. Any ideas? Any help will be highly appreciated since I've been stuck on this for quite a while. Thanks so much in advance, /Kenia

    T M L 3 Replies Last reply
    0
    • K keniagm

      Hello everybody! I'm working on an asp.net 4 project in which I'm using a jquery plugin for displayig bubble popups on mouse over on certain elements. I started facing a problem with the borders of the plugin not displaying, and now after a while trying to figure what was wrong, I've narrowed the issue to the background images that are set as inline styles on the border elements not being displayed. I tried somethning more simple like,

      testing

      and voila! doesn't work. It's easier to solve it now i think but it's freaking weird. The image exists and the span is displayed but no image on the background. I tried an empty HTML file with just that same code

      jQuery Bubble Popup - How to make a selectable Bubble Popup when mouse is overy

      testing

      and here the image is displayed! Both pages at the same level and with exactly the same code for the span element, the only diference is that the real page is an aspx and has a lot more content. Also when i look in Firebug and roll the mouse over the image on the styles panel to the right, the preview of the image is shown for the test file, but when i do it on real page, then it says that it can't find the image. Any ideas? Any help will be highly appreciated since I've been stuck on this for quite a while. Thanks so much in advance, /Kenia

      T Offline
      T Offline
      thatraja
      wrote on last edited by
      #2

      Agree it's really a weird issue. I think some additional code in your aspx page might blocked this thing. Try the simple case. Just convert the HTML file into aspx page(Copy the HTML page content & create new aspx page & paste it) & run. Now what's the output...

      thatraja


      **My Tip/Tricks
      My Dad had a Heart Attack on this day so don't...
      **All these are my opinions. Different people. different way of thinking. I am no one to judge others - Chandru

      K 1 Reply Last reply
      0
      • T thatraja

        Agree it's really a weird issue. I think some additional code in your aspx page might blocked this thing. Try the simple case. Just convert the HTML file into aspx page(Copy the HTML page content & create new aspx page & paste it) & run. Now what's the output...

        thatraja


        **My Tip/Tricks
        My Dad had a Heart Attack on this day so don't...
        **All these are my opinions. Different people. different way of thinking. I am no one to judge others - Chandru

        K Offline
        K Offline
        keniagm
        wrote on last edited by
        #3

        Hello and thanks for your reply. I did what you suggested and when i convert the HTML file to .aspx without a master page the image is displayed, however if I use the master page used on the project and inherit from the project template page then the issue comes up again. So I've reposted this on a different forum, 'cause this is actually an EpiServer (http://www.episerver.com/[^]) project, and there's clearly some conflict with something else...but i really have no idea what it might be. It was a good tip you gave me, thanks! /Kenia

        Kenia

        R 1 Reply Last reply
        0
        • K keniagm

          Hello everybody! I'm working on an asp.net 4 project in which I'm using a jquery plugin for displayig bubble popups on mouse over on certain elements. I started facing a problem with the borders of the plugin not displaying, and now after a while trying to figure what was wrong, I've narrowed the issue to the background images that are set as inline styles on the border elements not being displayed. I tried somethning more simple like,

          testing

          and voila! doesn't work. It's easier to solve it now i think but it's freaking weird. The image exists and the span is displayed but no image on the background. I tried an empty HTML file with just that same code

          jQuery Bubble Popup - How to make a selectable Bubble Popup when mouse is overy

          testing

          and here the image is displayed! Both pages at the same level and with exactly the same code for the span element, the only diference is that the real page is an aspx and has a lot more content. Also when i look in Firebug and roll the mouse over the image on the styles panel to the right, the preview of the image is shown for the test file, but when i do it on real page, then it says that it can't find the image. Any ideas? Any help will be highly appreciated since I've been stuck on this for quite a while. Thanks so much in advance, /Kenia

          M Offline
          M Offline
          Mukund Thakker
          wrote on last edited by
          #4

          This really works for me, <html lang="en"> <head> <title></title> </head> <body> testing </body> </html>

          1 Reply Last reply
          0
          • K keniagm

            Hello everybody! I'm working on an asp.net 4 project in which I'm using a jquery plugin for displayig bubble popups on mouse over on certain elements. I started facing a problem with the borders of the plugin not displaying, and now after a while trying to figure what was wrong, I've narrowed the issue to the background images that are set as inline styles on the border elements not being displayed. I tried somethning more simple like,

            testing

            and voila! doesn't work. It's easier to solve it now i think but it's freaking weird. The image exists and the span is displayed but no image on the background. I tried an empty HTML file with just that same code

            jQuery Bubble Popup - How to make a selectable Bubble Popup when mouse is overy

            testing

            and here the image is displayed! Both pages at the same level and with exactly the same code for the span element, the only diference is that the real page is an aspx and has a lot more content. Also when i look in Firebug and roll the mouse over the image on the styles panel to the right, the preview of the image is shown for the test file, but when i do it on real page, then it says that it can't find the image. Any ideas? Any help will be highly appreciated since I've been stuck on this for quite a while. Thanks so much in advance, /Kenia

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            Try specifying width and height for your span. I had the same problem with a webpage and this worked for me. Alternatively, you can replace the span with a div and see if it works.

            1 Reply Last reply
            0
            • K keniagm

              Hello and thanks for your reply. I did what you suggested and when i convert the HTML file to .aspx without a master page the image is displayed, however if I use the master page used on the project and inherit from the project template page then the issue comes up again. So I've reposted this on a different forum, 'cause this is actually an EpiServer (http://www.episerver.com/[^]) project, and there's clearly some conflict with something else...but i really have no idea what it might be. It was a good tip you gave me, thanks! /Kenia

              Kenia

              R Offline
              R Offline
              Raman Ghantiyala
              wrote on last edited by
              #6

              Sir/Madam Please check out on other browers because some browers does not support the background image. Thanks

              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