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. Background image doesn't work

Background image doesn't work

Scheduled Pinned Locked Moved Web Development
htmldatabasehelpquestion
3 Posts 3 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.
  • realJSOPR Offline
    realJSOPR Offline
    realJSOP
    wrote on last edited by
    #1

    I have a (main) table with a background image in which are cells that contain (internal) tables with their own background images. The main table's background image shows up just fine, but the internal ones down't show up at all. Here's the code:

    .LogoTable
    {
    font-family:arial;
    font-weight:bold;
    font-size:12px;
    color:#FFFFFF;
    background-color:transparent;
    background-attachment:fixed;
    background-image:url(pcplus_logo_2.png);
    background-repeat:no-repeat;
    background-position:right top;
    }
    .LogoLinks
    {
    display:block;
    clear:left;
    float:right;
    position:static;
    margin-top:96px;
    margin-bottom:2px;
    text-align:right;
    z-index:100;
    }

    	\[span class="LogoLinks"\]
    		Welcome so and so to this web site     
    		\[a style="color:#FFFF00;" href="blah.html"\]**Logoff**	\[/a\]   
    		\[a style="color:#FFFF00;" href="blah.html"\]**Support**	\[/a\]   
    		\[a style="color:#FFFF00;" href="blah.html"\]**Help**		\[/a\]   
    	\[/span\]
    

    Can't nested tables each have their own background image?

    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
    -----
    "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

    V B 2 Replies Last reply
    0
    • realJSOPR realJSOP

      I have a (main) table with a background image in which are cells that contain (internal) tables with their own background images. The main table's background image shows up just fine, but the internal ones down't show up at all. Here's the code:

      .LogoTable
      {
      font-family:arial;
      font-weight:bold;
      font-size:12px;
      color:#FFFFFF;
      background-color:transparent;
      background-attachment:fixed;
      background-image:url(pcplus_logo_2.png);
      background-repeat:no-repeat;
      background-position:right top;
      }
      .LogoLinks
      {
      display:block;
      clear:left;
      float:right;
      position:static;
      margin-top:96px;
      margin-bottom:2px;
      text-align:right;
      z-index:100;
      }

      	\[span class="LogoLinks"\]
      		Welcome so and so to this web site     
      		\[a style="color:#FFFF00;" href="blah.html"\]**Logoff**	\[/a\]   
      		\[a style="color:#FFFF00;" href="blah.html"\]**Support**	\[/a\]   
      		\[a style="color:#FFFF00;" href="blah.html"\]**Help**		\[/a\]   
      	\[/span\]
      

      Can't nested tables each have their own background image?

      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
      -----
      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

      V Offline
      V Offline
      Vasudevan Deepak Kumar
      wrote on last edited by
      #2

      Is the path correct? Vasudevan Deepak Kumar Personal Homepage namespace LavanyaDeepak
      Personal Weblog
      The World of Deepak and Lavanya
      ViewPoint 24x7

      1 Reply Last reply
      0
      • realJSOPR realJSOP

        I have a (main) table with a background image in which are cells that contain (internal) tables with their own background images. The main table's background image shows up just fine, but the internal ones down't show up at all. Here's the code:

        .LogoTable
        {
        font-family:arial;
        font-weight:bold;
        font-size:12px;
        color:#FFFFFF;
        background-color:transparent;
        background-attachment:fixed;
        background-image:url(pcplus_logo_2.png);
        background-repeat:no-repeat;
        background-position:right top;
        }
        .LogoLinks
        {
        display:block;
        clear:left;
        float:right;
        position:static;
        margin-top:96px;
        margin-bottom:2px;
        text-align:right;
        z-index:100;
        }

        	\[span class="LogoLinks"\]
        		Welcome so and so to this web site     
        		\[a style="color:#FFFF00;" href="blah.html"\]**Logoff**	\[/a\]   
        		\[a style="color:#FFFF00;" href="blah.html"\]**Support**	\[/a\]   
        		\[a style="color:#FFFF00;" href="blah.html"\]**Help**		\[/a\]   
        	\[/span\]
        

        Can't nested tables each have their own background image?

        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
        -----
        "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

        B Offline
        B Offline
        Benoy Bose
        wrote on last edited by
        #3

        In the style tag the statement background-image:url(pcplus_logo_2.png); shoudl be modified like background-image:url('pcplus_logo_2.png'); Try 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