Table cell size alignment

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mridul
    New Member
    • May 2007
    • 2

    Table cell size alignment

    I have a html which contains a table. As the data comes dynamically so the table cells expand and contract accordingly.To stop it i have fixed the width of table cells(td). But in one table cell a large url (data which is not having any break) is coming and in this case constant width is not working and cell is expanding. This gives a ugly look in the table.
    Can you help me out so that this table cell doesn't expand and instead it starts a fresh line.
  • sandyw
    New Member
    • Mar 2007
    • 122

    #2
    Originally posted by mridul
    I have a html which contains a table. As the data comes dynamically so the table cells expand and contract accordingly.To stop it i have fixed the width of table cells(td). But in one table cell a large url (data which is not having any break) is coming and in this case constant width is not working and cell is expanding. This gives a ugly look in the table.
    Can you help me out so that this table cell doesn't expand and instead it starts a fresh line.
    I think you will have to write a PHP code to do that one.
    My be Myqsl can do it. I would post this in PHP

    Comment

    • eldin
      New Member
      • May 2007
      • 5

      #3
      hello mridul,

      You can put a <br> halfway the link, it wil get a new line that way,

      or (if you want) try
      [HTML]
      <td>
      <a href="LINK.htm" > "what you want in your table"
      </a>
      </td>
      [/HTML]

      that way you give a name, which isnt too long for the <td>

      Comment

      • mridul
        New Member
        • May 2007
        • 2

        #4
        Originally posted by sandyw
        I think you will have to write a PHP code to do that one.
        My be Myqsl can do it. I would post this in PHP
        Thank you for your reply.
        Can you please send that PHP code.

        Comment

        Working...