How do I change the font color in this php script ?

Peter S

New member
I managed to get the background to a dark background however I can't change the font color to "red" where the "name", "email", "comment", etc text is...
Can anyone tell me what line to put in and where ?

Thanks


<meta http-equiv="Content-Type" content="text/html; charset=Unicode big endian">
<form action="formproc.php" method="post">
<table border="0" style="background:#08088A" <tr align="centre"
cellspacing="5">
<tr align="centre"><td>Name</td><td><input type="text" size="30" name="name"></td></tr>
<tr align="left"><td>Email</td><td><input type="text" size="30" name="email"></td></tr>
<tr align="left"><td valign="top">Comments</td><td><textarea name="comments" rows="6" cols="50"></textarea></td></tr>
<tr align="left"><td valign="top">Security code</td><td><img id="captcha" src="/securimage/securimage_show.php" alt="blahCAPTCHA Image"><br><a href="#" style="background:#ececec" onclick="document.getElementById('captcha').src = '/securimage/securimage_show.php?' + Math.random(); return false">Reload Image</a></td></tr>
<tr align="left"><td>Verify code</td><td><input type="text" name="captcha_code" size="10" maxlength="6"></td></tr>
<tr align="left"><td>*</td><td><input type="submit" value="Send"></td></tr>
</table>
</form>
 
Using tables is way too convoluted.

This is what I do.

<body bgcolor="black">
<font style="color:#ff0000;">
<form action="formproc.php" method="post">
Name<br/>
<input type="text" name="commonname" size="32"><br/>
Email<br/>
<input type="text" name="email" size="32"><br/>
Comment<br/>
<input type="text" name="comment" size="8"><br/><br/>
<input type="Submit" name="submitbutton" value="Submit">
</form>
</font>
</body>


Much simpler
 
Using tables is way too convoluted.

This is what I do.

<body bgcolor="black">
<font style="color:#ff0000;">
<form action="formproc.php" method="post">
Name<br/>
<input type="text" name="commonname" size="32"><br/>
Email<br/>
<input type="text" name="email" size="32"><br/>
Comment<br/>
<input type="text" name="comment" size="8"><br/><br/>
<input type="Submit" name="submitbutton" value="Submit">
</form>
</font>
</body>


Much simpler
 
Using tables is way too convoluted.

This is what I do.

<body bgcolor="black">
<font style="color:#ff0000;">
<form action="formproc.php" method="post">
Name<br/>
<input type="text" name="commonname" size="32"><br/>
Email<br/>
<input type="text" name="email" size="32"><br/>
Comment<br/>
<input type="text" name="comment" size="8"><br/><br/>
<input type="Submit" name="submitbutton" value="Submit">
</form>
</font>
</body>


Much simpler
 
Back
Top