Как в html5, разместить объекты <figure> в две строчки три столбца, без таблиц? спасибо.
Применяя float: left; первые три блока размещаются как необходимо, а вот со следующими тремя блоками - беда. Ни как они не хотят, следующей строкой (((
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Портфолио https://www.behance.net/d4d4186e
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Портфолио https://www.behance.net/d4d4186e
Question
luxwood
Как в html5, разместить объекты <figure> в две строчки три столбца, без таблиц? спасибо.
Применяя float: left; первые три блока размещаются как необходимо, а вот со следующими тремя блоками - беда. Ни как они не хотят, следующей строкой (((
.a1 {
background: #FFFFFF;
border:5px;
padding: 10px;
display: block;
width: 150px;
float: left;
margin: 0 10px 10px 0;
text-align: center;
}
<! -- первые 3 блока —->
<article>
<figure class="a1">
<p><img src="image.png" alt=""></p>
<figcaption class="kolocaption">text</figcaption>
</figure>
<figure class="a1">
<p><img src="image.png" alt=""></p>
<figcaption class="kolocaption">text</figcaption>
</figure>
<figure class="a1">
<p><img src="image.png" alt=""></p>
<figcaption class="kolocaption">text</figcaption>
</figure>
</article>
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.