Kuso: long text umbruch

Beitrag lesen

Das hab ich ja, aber mein problem ist z.b. mein news system, wenn jemmand mal denkt er muss dumm rum spammen und z.b. schreiben:#

fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff

total ohne leerzeichen wird die tabbelle breiter

direktes beispiel:

<table border="0" width="300px" cellspacing="0" cellpadding="0">
  <tr>
    <td>
      <table border="0" width="8%" cellspacing="0" cellpadding="0">
        <tr>
          <td>
            hier steht auch noch was
          </td>
        </tr>
      </table>
      <table border="0" width="92%" cellspacing="0" cellpadding="0">
        <tr>
          <td>
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>

ich glaub so müsste es verständlciher sein :)

pls help

Hallo!

hi, ich hab da mal ne frage, kann ich einer tabelle sagen du darfst maximal 92% breit sein, egal wie lang der text in der tabelle ist?

das er automatisch den text bricht so das die tabelle nicht verrusht bzw auseinander geht?

wenn das geht wie?
und wenn das ganze per html nicht machbar ist wie mach cih das in php?

Der Text bricht in html immer automatisch um...?! Oder verstehe ich die Frage nicht?
Mach das einfach, wie du oben geschrieben hast, und es funktioniert.

tschüs, jürgen