miranda121 Posted April 8, 2013 at 07:28 PM Report #502230 Posted April 8, 2013 at 07:28 PM Boas pessoal estou com uma duvida sera que me podiam ajudar? Estou a fazer um website responsivo mas estou com uma duvida agora. Tenho uma div "content" e dentro dessa tenho uma div com img e outra onde vai aparecer uma textarea e um butao. mas o que é que eu estava a tentar fazer content: width 90% | div img - width 80px height 80px float:left | div formulario - float left width x% - os 80px... como é que consigo meter a div formulario lado a lado com a IMG mas sendo a img com width e height fixo e o formulario responsivo
HappyHippyHippo Posted April 8, 2013 at 10:37 PM Report #502254 Posted April 8, 2013 at 10:37 PM tira o float e o width do div formulário IRC : sim, é algo que ainda existe >> #p@p Portugol Plus
miranda121 Posted April 8, 2013 at 11:12 PM Author Report #502257 Posted April 8, 2013 at 11:12 PM mas eu quero que o formulario fique ao lado da imagem... assim o formulario ficou-me por baixo.
HappyHippyHippo Posted April 8, 2013 at 11:36 PM Report #502260 Posted April 8, 2013 at 11:36 PM <html> <head> <style type="text/css"> .left { float: left; width: 80px; height: 100px; background-color: #eee; } .right { margin-left: 80px; height: 200px; background-color: #bbb; } </style> </head> <body> <div class="left"> </div> <div class="right"> </div> </body> </html> IRC : sim, é algo que ainda existe >> #p@p Portugol Plus
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