Many thanks Martin, Junaid and everyone who's helped on this - it's appreciated. OK, I've got the bits below that work, but are there any issues any where for using this one, as opposed to the other one below please? Chris. <?php if ($errFirstname) echo "<font class='red-asterisk'>*</font>"; ?> .red-asterisk { font-size: 18px; color: #ff0000; } > -----Original Message----- > From: php-objects@xxxxxxxxxxxxxxx [mailto:php- > objects@xxxxxxxxxxxxxxx] On Behalf Of Martin Samesch > Sent: Sunday, February 12, 2006 3:29 PM > To: php-objects@xxxxxxxxxxxxxxx > Subject: Re: Need an asterisk in error > message to be in bold > > On Sun, Sep 11, 2005 at 08:44:25PM +0530, Shaikh Raees > wrote: > > Use this > > > > <?php if ($errName) echo "<font color='red' > > > style='font-weight:bold'>*</font>"; ?> Name: > > If you use CSS, use it consistently: > > <?php if ($errName) echo "<span > style=\"color:red;font-weight:bold;\">*</span>"; ?> > Name: > > Maybe it's even to define a CSS-class, i.e. > > .error { > color:red; > font-weight:bold; > /* more CSS stuff ... */ > } > > and use this > > <?php if ($errName) echo "<span > class=\"error\">*</span>"; ?> Name: > > Martin > 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/