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. How to add a number to Left top Of a td Element

How to add a number to Left top Of a td Element

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
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.
  • M Offline
    M Offline
    mhd sbt
    wrote on last edited by
    #1

    Hi to every buddy i have a table like this

    test 1

    test2 2

    i want have another number in each td elemet in top and Left Of each td. is there a tag for do this like sub tag ? if no how can do this? thank for any idea

    J S A J 4 Replies Last reply
    0
    • M mhd sbt

      Hi to every buddy i have a table like this

      test 1

      test2 2

      i want have another number in each td elemet in top and Left Of each td. is there a tag for do this like sub tag ? if no how can do this? thank for any idea

      J Offline
      J Offline
      jkirkerx
      wrote on last edited by
      #2

      The sub is for chemical text and stuff like that H2O What is top left, it can mean many things to me. Besides, that an HTML question, really has nothing to do with asp.net

      1 Reply Last reply
      0
      • M mhd sbt

        Hi to every buddy i have a table like this

        test 1

        test2 2

        i want have another number in each td elemet in top and Left Of each td. is there a tag for do this like sub tag ? if no how can do this? thank for any idea

        S Offline
        S Offline
        Swinkaran
        wrote on last edited by
        #3

        Haven't you tried

        This tag defines superscript text. Example,

        <p><sup>23</sup>text contains <sub>4</sub></p>

        Output is : 23text contains 4 I guess this what you mean by "top and left of each td". thanks

        M 1 Reply Last reply
        0
        • M mhd sbt

          Hi to every buddy i have a table like this

          test 1

          test2 2

          i want have another number in each td elemet in top and Left Of each td. is there a tag for do this like sub tag ? if no how can do this? thank for any idea

          A Offline
          A Offline
          Arunima Panda
          wrote on last edited by
          #4

          Hi Probably you want to show data in this notation 1 Data 1 Then try with following code

          <table>
          <tr>
          <td border="1"><sup>1</sup> test1 <sub>1</sub> </td>
          <td border="1"><sup>2</sup> test2 <sub>2</sub> </td>
          </tr>
          </table>

          1 Reply Last reply
          0
          • M mhd sbt

            Hi to every buddy i have a table like this

            test 1

            test2 2

            i want have another number in each td elemet in top and Left Of each td. is there a tag for do this like sub tag ? if no how can do this? thank for any idea

            J Offline
            J Offline
            Jugdeep Singh Sidana
            wrote on last edited by
            #5

            You can use sup tag

            2 test 1

            3 test2 2

            1 Reply Last reply
            0
            • S Swinkaran

              Haven't you tried

              This tag defines superscript text. Example,

              <p><sup>23</sup>text contains <sub>4</sub></p>

              Output is : 23text contains 4 I guess this what you mean by "top and left of each td". thanks

              M Offline
              M Offline
              mhd sbt
              wrote on last edited by
              #6

              thanks you save my life with this good solution :) :)

              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