Ver Mensaje Individual
  #8 (permalink)  
Antiguo 17/04/2015, 18:33
ariki
 
Fecha de Ingreso: abril-2015
Mensajes: 27
Antigüedad: 9 años
Puntos: 1
Respuesta: Formularios con CSS

con una tabla, pega el codigo en un <div id="tabla"></div> o de lleno en el body pero si quieres poder modificarlo con CSS en div, luego buscas id los pones en tu hoja de CSS

eso es todo
Código PHP:
esta es tu hoja css


#form1{

}


#form2 {

}


#form3 {

}

#nombre {

}


#apellido {

}


#id del div si asi lo haces {


Código PHP:
esta es la tabla


<table width="492" height="269" border="1">
  <
tr>
    <
td height="42" colspan="2">&nbsp;</td>
  </
tr>
  <
tr>
    <
td width="140" height="37">Nombre:</td>
    <
td width="336"><f[COLOR="red"]orm id="form2"[/COLORname="form2" method="post" action="">
      <
label for="nombre"></label>
      <
div align="right">
        <
input type="text" name="nombre" [COLOR="red"]id="nombre"[/COLORsize="50"/>
      </
div>
    </
form></td>
  </
tr>
  <
tr>
    <
td height="33">Apellido:</td>
    <
td><form [COLOR="Red"]id="form1"[/COLORname="form1" method="post" action="">
      <
label for="apellido"></label>
      <
div align="right">
        <
input type="text" name="apellido"[COLOR="red"id="apellido"[/COLORsize="50" />
      </
div>
    </
form></td>
  </
tr>
  <
tr>
    <
td height="23" colspan="2"><form [COLOR="red"]id="form3"[/COLORname="form3" method="post" action="">
      <
div align="right">
        <
input type="submit" name="submit"[COLOR="red"id="submit"[/COLORvalue="aqui va el nombre de el submit" />
      </
div>
    </
form></td>
  </
tr>
  <
tr>
    <
td height="115" colspan="2">&nbsp;</td>
  </
tr>
</
table