Jump to content

div's na mesma linha...


miranda121
 Share

Recommended Posts

Boa tarde senhores.

è o seguinte estou a tentar meter div's alinhadas numa so lina que continua-se quando o ecra acaba e continua-se com o scroll claro na horizontal...

Ja experimentei o float: left mas quando chega ao fim do ecra e nao cabe mais ele muda para baixo queria que continua-se sempre.

Podiam ajudar?

Link to comment
Share on other sites

problema nao é esse.. o scroll eu sei meter..

eu tenho é uma serie de caixas e quero mete-las na mesma linha

	.col1{
			float:left;
			width:220px;
			height:220px;
			margin: 2px 2px;
			background:#555656;
		}

<section class="col1"></section><section class="col1"></section><section class="col1"></section><section class="col1"></section>
	<section class="col1"></section><section class="col1"></section><section class="col1"></section><section class="col1"></section>
	<section class="col1"></section><section class="col1"></section><section class="col1"></section><section class="col1"></section>
Link to comment
Share on other sites

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
 Share

×
×
  • 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.