Jump to content

Recommended Posts

Posted

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

Posted
<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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.