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. fixed background in table

fixed background in table

Scheduled Pinned Locked Moved Web Development
csshelp
4 Posts 2 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.
  • B Offline
    B Offline
    Brakanjan
    wrote on last edited by
    #1

    Hi I want to use the css style properties in my one of my columns of a table, but can't get the code working. I want to use the code body { background-image: url("/images/smiley.gif"); background-repeat: no-repeat; background-attachment: fixed } in a table, like:

    body { background-image: url("/images/smiley.gif"); background-repeat: no-repeat; background-attachment: fixed }

    appreciate any help tx

    L 1 Reply Last reply
    0
    • B Brakanjan

      Hi I want to use the css style properties in my one of my columns of a table, but can't get the code working. I want to use the code body { background-image: url("/images/smiley.gif"); background-repeat: no-repeat; background-attachment: fixed } in a table, like:

      body { background-image: url("/images/smiley.gif"); background-repeat: no-repeat; background-attachment: fixed }

      appreciate any help tx

      L Offline
      L Offline
      l a u r e n
      wrote on last edited by
      #2

      try putting a semi-colon after "fixed" i had trouble with this before


      "there is no spoon"
      biz stuff   about me

      B 1 Reply Last reply
      0
      • L l a u r e n

        try putting a semi-colon after "fixed" i had trouble with this before


        "there is no spoon"
        biz stuff   about me

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

        l a u r e n wrote: try putting a semi-colon after "fixed" I get to display the image, but because of the body {} command it's the background for the whole page. I want to know how to display this image one in the table column!

        L 1 Reply Last reply
        0
        • B Brakanjan

          l a u r e n wrote: try putting a semi-colon after "fixed" I get to display the image, but because of the body {} command it's the background for the whole page. I want to know how to display this image one in the table column!

          L Offline
          L Offline
          l a u r e n
          wrote on last edited by
          #4

          then set a style for the table column: .tcp {bgpic: blah blah}; /////// etc


          "there is no spoon"
          biz stuff   about me

          blahblah

          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