Hi,

This is a real simple answer but for the life of me i cant seem to work out.

I am trying to display my notes on one side of the page however the notes are long and are running right across the page instead of automatically going into a new line.

<table width="50%">
               <tr>
                <td>Note Type:<?php echo $row_rsLatestNotes['NoteType']; ?></td>
                  <td> <br /> Note:<?php echo $row_rsLatestNotes['Note']; ?></td>
                   <td><br /> Note Created:<?php echo $row_rsLatestNotes['NoteCreated']; ?></td>
                     <td><br /> Note UserID:<?php echo $row_rsLatestNotes['Notes_UserID']; ?></td>
                  
      </tr>
      </table>

how can i get the note to auto format it so it will display properly on the page?

many thanks

Recommended Answers

All 2 Replies

Hi andydeans,

Just fix width of the container which is having this note table.
(i.e. parent tag of <table width="50%">)
not in percentage but in pixel.

thanks for that

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.