Ver Mensaje Individual
  #2 (permalink)  
Antiguo 21/03/2006, 02:10
carloslmz
 
Fecha de Ingreso: diciembre-2005
Ubicación: México
Mensajes: 31
Antigüedad: 18 años, 4 meses
Puntos: 0
este es el código:
Cita:
function build_body($title, $bgcolor, $text_color, $link_color, $vlink_color, $alink_color, $style_sheet, $errorcolor) {
if ($style_sheet)
echo "<LINK rel=STYLESHEET href=\"$style_sheet\" Type=\"text/css\">\n";
if ($title)
echo "<title>$title</title>\n";
if (!$bgcolor)
$bgcolor = "#FFFFFF";
if (!$text_color)
$text_color = "#000000";
if (!$link_color)
$link_color = "#0000FF";
if (!$vlink_color)
$vlink_color = "#FF0000";
if (!$alink_color)
$alink_color = "#000088";
if ($background)
$background = "background=\"$background\"";
echo "<style>.error {color:".$errorcolor."}\n</style>\n";
echo "<body bgcolor=\"$bgcolor\" text=\"$text_color\"\"$link_color\" vlink=\"$vlink_color\" alink=\"$alink_color\" $background>\n\n";
}
Luego agrega a la etiqueta donde aparece el mensaje de error class="errorcolor"
__________________
Carlos Magaña
Mi Blog | Guanajuato