I have a form that gets emailed to me in a table format, so that it's easy to see. There are 2 cells in the table - the question and the answer (it's an application form). At the moment, the fields come through all different sizes depending on the content in them. I want to be able to specify the width of the first and the second box (first box, the question, should be smaller for example). This is an example of my code:
$message .= "<strong>EDUCATION</strong>";
$message .= '<table rules="all" style="border-color: #999;" cellpadding="10">';
$message .= "<tr><td>School / University:</td><td>" . strip_tags($_POST['req-school']) . "</td></tr>";
$message .= "</table>";
I thought i'd be able to just use the following:
$message .= "<tr><td width="350px">School / University:</td><td>" . strip_tags($_POST['req-school']) . "</td></tr>";
but since there is already quotation marks it is showing as an error. I then tried using just ' but it doesn't seem to allow me to make the box any smaller than 350px. If I put 300px, it jumps down to be about 50px wide which is far too small. Please help!