elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Sigue las noticias más importantes de seguridad informática en el Twitter! de elhacker.NET


+  Foro de elhacker.net
|-+  Programación
| |-+  Desarrollo Web (Moderador: #!drvy)
| | |-+  Diseño a un formulario
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: Diseño a un formulario  (Leído 1,535 veces)
jperezmonge

Desconectado Desconectado

Mensajes: 24


Chronos Estudios


Ver Perfil
Diseño a un formulario
« en: 21 Febrero 2012, 17:45 pm »

Hola a todos, haber si me podeis echar una manita es que tengo este codigo implementado y uso navegador web chrome y se ve super feo. Haber si alguien sabe adecentarlo un poquito.

Dejo el código:

Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Subir Archivo</title>
</head>

<body>
<h1>Subir archivos mediante php</h1>
<form action="subirarchivo.php" method="post" enctype="multipart/form-data">
Inserte aqui su archivo:<br />

<input type="file" name="archivo">
<input type="submit" value="enviar">
</form>
</body>
</html>


En línea

EFEX


Desconectado Desconectado

Mensajes: 1.171


"Dinero Facil"


Ver Perfil WWW
Re: Diseño a un formulario
« Respuesta #1 en: 21 Febrero 2012, 20:07 pm »

Para el de tipo inputfile se necesita de js ademas de CSS, te dejo unos ejemplos...

Styling an input type="file"
http://www.quirksmode.org/dom/inputfile.html
Styling file inputs with css and the dom
http://www.shauninman.com/archive/2007/09/10/styling_file_inputs_with_css_and_the_dom
Demo
http://jstnjns.com/jquery/file/


En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines