Positioning labels
<html> <head> <title>Positioning labels</title> <style rel="stylesheet" type="text/css"> body { color: #000000; background-color: #ffffff; font-family: arial, verdana, sans-serif; font-size: 12pt; } fieldset { font-size: 12px; padding: 10px; width: 500px; } span.required { font-weight: bold; font-size: 20px; color: #ff0000; } td { font-size: 12px; } </style> </head> <body> <form name="frmExample" action="" method="post"> <fieldset> <legend>Contact details</legend> <table> <tr> <td class="label">Phone number <span class="required">*</span></td> <td><input type="text" name="txtTelAreaCode" size="5" /> <input type="text" name="txtTelNo" size="10" /> </tr> </table> </fieldset> </form> </body> </html>