Re: Need an asterisk in error message to be in bold

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/
 



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux