Jump to content

Сортировка блоков


Гром
 Share

Recommended Posts

float: left или display: inline-block

Как выше теперь блок поднять?

Вот сам код:

 

<style>   .layer1 {    float: right; /* Обтекание по правому краю */    margin-right: 230px; /* Отступ справа */    width: 40%; /* Ширина блока */   }  </style><ul class="thumbnails">  <li class="span3">    <div class="thumbnail">      <img src="http://nasha-shkola.org/templates/School/images/riba.jpg">      <h5><center><span class="label">Ріба Оксана Йосипівна</span></center></h5>      <p>Вчитель урокаїнської мови та літератури</p><hr><center><a href="http://nasha-shkola.org/blog.oksana-riba.html" class="btn">Читати блог</a></center>    </div>	</li> </ul><div class="layer1"><ul class="thumbnails">  <li class="span3">    <div class="thumbnail">      <img src="http://nasha-shkola.org/templates/School/images/riba.jpg">      <h5><center><span class="label">Ріба Оксана Йосипівна</span></center></h5>      <p>Вчитель урокаїнської мови та літератури</p><hr><center><a href="http://nasha-shkola.org/blog.oksana-riba.html" class="btn">Читати блог</a></center>    </div>	</li> </ul></div>

IIcoYaXb2kI.jpg

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

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. See more about our Guidelines and Privacy Policy