can fixed the table data with <td> width

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • idsanjeev
    New Member
    • Oct 2007
    • 241

    can fixed the table data with <td> width

    hello guys
    how can fixed the table data which display if the word can not be completed in fixed table column then bareak it in new line not expend the column width
    like when using this table column is auto adjested with data when a word is end then goes to new line so how can adust the table data with column not with data
    Code:
    <td width="5%">iamsanjeevkumarjhawhatsyour</td>
  • Death Slaught
    Top Contributor
    • Aug 2007
    • 1137

    #2
    Your question is extremely difficult to read, before posting read your question to yourself to check for spelling, and grammical errors.

    I think (correct me if i'm wrong) that you're trying to have your text wrap in your table division. Well you can just add a breaking line where you want it to go down to the next line.

    Code:
    <table border="1">
      <tr>
        <td>
               Text Text Text Text
               <br />
               Text Text Text Text
        </td>
      </tr>
    </table>
    Hope it helps, Thanks, Death

    Comment

    • idsanjeev
      New Member
      • Oct 2007
      • 241

      #3
      i wants to know how can wrap the <td> data if the size of passing data is longer then size can wrap with size <td> width or any other

      Comment

      Working...