- Автор темы
- #1
Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
<style>
.content {
margin: 80px 90px 150px;
color: #4E4E4E;
}
.clearfix {
zoom: 1;
}
.suppliers {
margin: 0 0 0 -52px;
list-style: none;
}
.suppliers li {
display: inline-block;
width: 216px;
margin: 0 0 65px 49px;
vertical-align: top;
}
.suppliers a {
text-decoration: none;
display: block;
cursor: pointer;
}
.suppliers a .img {
display: table-cell;
width: 214px;
height: 118px;
border: 1px solid #ccc;
vertical-align: middle;
text-align: center;
line-height: 0;
}
.suppliers a .supp_name {
display: block;
margin-top: 12px;
font-size: 14px;
color: #666;
text-decoration: underline;
}
</style>
<div class="content">
<div class="title"><h1>Поставщики</h1></div>
<ul class="suppliers clearfix">
<li>
<a href="http://www.nulled.cc/" target="_blank">
<span class="img">
<img src="картинка" alt="бла бла">
</span>
<span class="supp_name">имя</span>
</a>
</li>
</ul>
</div>
HTML:<style> .content { margin: 80px 90px 150px; color: #4E4E4E; } .clearfix { zoom: 1; } .suppliers { margin: 0 0 0 -52px; list-style: none; } .suppliers li { display: inline-block; width: 216px; margin: 0 0 65px 49px; vertical-align: top; } .suppliers a { text-decoration: none; display: block; cursor: pointer; } .suppliers a .img { display: table-cell; width: 214px; height: 118px; border: 1px solid #ccc; vertical-align: middle; text-align: center; line-height: 0; } .suppliers a .supp_name { display: block; margin-top: 12px; font-size: 14px; color: #666; text-decoration: underline; } </style> <div> <ul class="suppliers clearfix"> <li> <a href="http://www.nulled.cc/" target="_blank"> <span class="img"> <img src="картинка" alt="бла бла"> </span> <span class="supp_name">имя</span> </a> </li> <li> <a href="http://www.nulled2.cc/" target="_blank"> <span class="img"> <img src="картинка2" alt="бла бла2"> </span> <span class="supp_name2">имя2</span> </a> </li> </ul> </div>