Many thanks for that, I'm now trying to put it into a css. But the asterisk appears in a separate paragraph above the relevant word ;-( <?php if ($errName) echo "<p class='red-asterisk'>*</p>"; ?> First name: .red-asterisk { font-size: 28px; color: #ff0000; } Any help appreciated. Chris. Original Message----- > From: php-objects@xxxxxxxxxxxxxxx [mailto:php- > objects@xxxxxxxxxxxxxxx] On Behalf Of TechLDS > Sent: Saturday, February 11, 2006 8:13 PM > To: php-objects@xxxxxxxxxxxxxxx > Subject: RE: Need an asterisk in error > message to be in bold > > Common problem. Escape the quotes around the tags. > > <?php if ($errName) echo "<font color=\"red\" > style=\"bold\">*</font>"; ?> > Name: > > > -----Original Message----- > From: php-objects@xxxxxxxxxxxxxxx [mailto:php- > objects@xxxxxxxxxxxxxxx] On > Behalf Of Chris > Sent: Saturday, February 11, 2006 7:56 AM > To: php-objects@xxxxxxxxxxxxxxx > Subject: Need an asterisk in error message to > be in bold > > Hi all, Just trying to make the asterisk appear > bold, but it's not happening ;-( Could anyone > please have a quick look at the code below and let me know > if it should > please? > > Any help appreciated. > > Chris. > > <?php if ($errName) echo "<font color='red' > style='bold'>*</font>"; ?> Name: > > PHP Data object relational mapping generator http://www.metastorage.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/