joaocasta Posted July 7, 2012 Report Share Posted July 7, 2012 Olá, gostaria de saber como posso formatar o meu formulário de modo que ele fique parecido com este: ja tentei várias coisas, mas saíram todas mal, fica tudo torto... se me pudessem dar algumas dicas.. Link to comment Share on other sites More sharing options...
laeknishendr Posted July 7, 2012 Report Share Posted July 7, 2012 Você deve organizá-lo dentro de duas tabelas alinhadas a esquerda, e fazer algumas coisas com CSS de acordo com a sua preferência, segue o exemplo: http://exemplos.segbr.net/p@p/001.html <!DOCTYPE html> <html> <head> <title>Exemplo</title> </head> <style type="text/css"> #formCadastro table { float: left; } #tLeft { border-right: 1px silver solid; margin-right: 10px; padding-right: 10px; } </style> <body> <form id="formCadastro"> <table id="tLeft"> <tr> <td>Nome</td> <td><input type="text" /></td> </tr> <tr> <td>Login</td> <td><input type="text" /></td> </tr> <tr> <td>Senha</td> <td><input type="password" /></td> </tr> </table> <table> <tr> <td>Nome</td> <td><input type="text" /></td> </tr> <tr> <td>Login</td> <td><input type="text" /></td> </tr> <tr> <td>Senha</td> <td><input type="password" /></td> </tr> </table> </form> </body> </html> Link to comment Share on other sites More sharing options...
joaocasta Posted July 8, 2012 Author Report Share Posted July 8, 2012 Obrigadão, pá! Ajudaste-me muito, obrigado mesmo 😉 Link to comment Share on other sites More sharing options...
brunoais Posted July 8, 2012 Report Share Posted July 8, 2012 Você deve organizá-lo dentro de duas tabelas alinhadas a esquerda, e fazer algumas coisas com CSS de acordo com a sua preferência, segue o exemplo: http://exemplos.segbr.net/p@p/001.html ... Estás a magoar-me à grande... "[Os jovens da actual geração]não lêem porque não envolve um telecomando que dê para mirar e atirar, não falam porque a trapalhice é rainha e o calão é rei" autor: thoga31 Life is a genetically transmitted disease, induced by sex, with death rate of 100%. Link to comment Share on other sites More sharing options...
laeknishendr Posted July 8, 2012 Report Share Posted July 8, 2012 Estás a magoar-me à grande... kkkk, web 1995 Link to comment Share on other sites More sharing options...
HappyHippyHippo Posted July 8, 2012 Report Share Posted July 8, 2012 div ?? o que é isso ??? IRC : sim, é algo que ainda existe >> #p@p Portugol Plus Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now