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. General Programming
  3. C#
  4. how to use "bgcolor"?

how to use "bgcolor"?

Scheduled Pinned Locked Moved C#
htmlhelptutorialquestion
7 Posts 4 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.
  • I Offline
    I Offline
    Imran Adam
    wrote on last edited by
    #1

    Hi, I have just switched from VS2003 to VS2008. I am using a repeater control on a web form. When i try to personalise the control in HTML using . I am getting a error for bgcolor!! I think bgcolor has been superseded with something else? Can someone please tell me what i would need to do.....

    Cheers :)

    E S 2 Replies Last reply
    0
    • I Imran Adam

      Hi, I have just switched from VS2003 to VS2008. I am using a repeater control on a web form. When i try to personalise the control in HTML using . I am getting a error for bgcolor!! I think bgcolor has been superseded with something else? Can someone please tell me what i would need to do.....

      Cheers :)

      E Offline
      E Offline
      Ennis Ray Lynch Jr
      wrote on last edited by
      #2

      It is replaced by background-color css attribute

      Need a C# Consultant? I'm available.
      Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway

      I 1 Reply Last reply
      0
      • E Ennis Ray Lynch Jr

        It is replaced by background-color css attribute

        Need a C# Consultant? I'm available.
        Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway

        I Offline
        I Offline
        Imran Adam
        wrote on last edited by
        #3

        Thanks Ennis Ray Lynch, Jr. how would i use a css attribute? e.g. if i wanted to have a blue background on a field name. Id use something like bgcolor=blue. How to you do that with a css attribute??

        Cheers :)

        P 1 Reply Last reply
        0
        • I Imran Adam

          Thanks Ennis Ray Lynch, Jr. how would i use a css attribute? e.g. if i wanted to have a blue background on a field name. Id use something like bgcolor=blue. How to you do that with a css attribute??

          Cheers :)

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          style="background-color:blue;"

          Deja View - the feeling that you've seen this post before.

          My blog | My articles

          I 1 Reply Last reply
          0
          • I Imran Adam

            Hi, I have just switched from VS2003 to VS2008. I am using a repeater control on a web form. When i try to personalise the control in HTML using . I am getting a error for bgcolor!! I think bgcolor has been superseded with something else? Can someone please tell me what i would need to do.....

            Cheers :)

            S Offline
            S Offline
            Skippums
            wrote on last edited by
            #5

            I usually go to http://www.w3schools.com/xhtml/default.asp[^] when I need a reference for any sort of website useful languages. They also have very usable tutorials for things like perl, javascript, css, etc. Hope this helps you in the future!

            -Jeff

            I 1 Reply Last reply
            0
            • S Skippums

              I usually go to http://www.w3schools.com/xhtml/default.asp[^] when I need a reference for any sort of website useful languages. They also have very usable tutorials for things like perl, javascript, css, etc. Hope this helps you in the future!

              -Jeff

              I Offline
              I Offline
              Imran Adam
              wrote on last edited by
              #6

              thanks!

              Cheers :)

              1 Reply Last reply
              0
              • P Pete OHanlon

                style="background-color:blue;"

                Deja View - the feeling that you've seen this post before.

                My blog | My articles

                I Offline
                I Offline
                Imran Adam
                wrote on last edited by
                #7

                Thanks Pete!

                Cheers :)

                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