Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

187
Views
¿Cómo puedo usar la parte superior flotante a la izquierda y la alineación vertical juntas?

Quiero usar float left y vertical-align top juntos. Tengo div de 1000px por 1000px. Quiero configurar 7 imágenes como se muestra en la imagen. quiero este tipo de resultado

Con este código me sale esto

 <style> .container{ border: 1px solid black; height: 1000px; width: 1000px; } .img{ /* vertical-align: top; */ display: inline-block; float: left; } </style> </head> <body> <div class="container"> <div class="img"><img src="1.jpg" alt=""></div> <div class="img"><img src="2.jpg" alt=""></div> <div class="img"><img src="3.jpg" alt=""></div> <div class="img"><img src="4.jpg" alt=""></div> <div class="img"><img src="5.jpg" alt=""></div> <div class="img"><img src="6.jpg" alt=""></div> <div class="img"><img src="7.jpg" alt=""></div> </div> </body>
 I tried to use vertical-align: top; display: inline-block; both together but it didn't work.
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!