Hi all again. I couldn't reply to my last post "Message Field Required"? Anyway props to "elbeato" for helping me out. My textarea is now indented on the first line. Is there any way to align the text in a textarea?

    <td align="right">Additional Training</td>
        <td colspan="5">
        <textarea name='AdditionalTraining' rows=6 cols=70 readonly="enabled">
        <?php echo $AdditionalTraining; ?>

Member Avatar for diafol


<textarea name='AdditionalTraining' rows=6 cols=70 readonly="enabled"><?php echo $AdditionalTraining; ?></textarea>

Doing a html beautifying thing on textboxes doesn't work as it takes the whitespace for the php code as literal.

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.