Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/01/2008, 12:53
tavitooo
 
Fecha de Ingreso: julio-2006
Mensajes: 368
Antigüedad: 18 años, 9 meses
Puntos: 2
htmlarea con clasess!

Amigos tengo un problema dentro de mi textarea tengo codigo html en la cual tengo clasess cuando le doy submit me vota un error pero si edito ese html dentro del textarea y saco las clases si lo graba mi problema es como haria con las clases para grabarlas?. eh aca mi codigo :(

--------------------------

<form name="form1" method="post" action="save_menu.asp">

<textarea name="campo1" style="width:500px; height:200px;" rows="1" cols="20">

<td width="543" height="27" bgcolor="#FFFFFF">
<p align="center"><img src="images/secretary.gif" width="231" height="183" align="left" class="sub2"><span class="sub2">WELCOME
TO OUR COMPANY<br>
</span>
<p align="justify">
<span class="bod">Our experience and vision date back to 1991. For
over a decade, Star One Mortgage Bankers has been dedicated to helping
Mortgage Brokers achieve their dream of funding more loans. Times have
changed and so have perceptions. Our pioneering spirit backed by
aggressive products and experienced staff is the foundation that makes
Star One Mortgage a true leader in this industry. Our Brokers benefit
from our excellence and consistent underwriting. At Star One Mortgage,
you are our mission.</span>
<p align="justify">
&nbsp;
<p align="center">
<img src="images/mano.gif" width="231" height="141" align="left" class="sub2"><span class="sub2"><strong>Personalized
lending solutions. An unmatched display of options and excellent
service.</strong></span>
<p align="justify">
<span class="bod">Having the vision to recognize potential comes from one
place...experience. You work hard to originate loans, the last thing you need
is a funding source that can't appreciate the special nuances of risk-based
lending. Star One's expertise and array of solutions allow us to see the
potential in each deal, not just the challenges
</span>
<p align="justify">
&nbsp;
</td>


</textarea>

<script language="JavaScript1.2" defer>
var config = new Object(); // create new config object

config.width = "90%";
config.height = "350px";
config.bodyStyle = 'background-color: white; font-family: "Verdana"; font-size: x-small;';
config.debug = 0;

config.toolbar = [
['fontname'],
['fontsize'],
// ['fontstyle'],
['linebreak'],
['bold','italic','underline','separator'],
// ['strikethrough','subscript','superscript','separat or'],
['justifyleft','justifycenter','justifyright','sepa rator'],
['OrderedList','UnOrderedList','Outdent','Indent',' separator'],
['forecolor','backcolor','separator'],
['HorizontalRule','Createlink','InsertImage','htmlm ode','separator'],

];

editor_generate('campo1',config);
</script>

<center><input type="submit" name="save" value="Save"></center>

</form>
------------------