07-03-2013, 00:56
Witam. Tworzyłem już paręnaście szablonów z siedbarami, i 1 raz mam taki problem..
Siedbar schodzi zawsze do ostatniego posta..
http://screencloud.net/v/sLbl
i
HTML
2 dni już się z tym męczę, i nie mam pojęcia.. clear bothy itp. nie pomagają
Siedbar schodzi zawsze do ostatniego posta..
http://screencloud.net/v/sLbl
Kod PHP:
.post {
float:left;
width:550px;
background-color:#fdfdfd;
border:1px solid #e6e6e6;
padding:20px;
}
Kod PHP:
/* SIEDBAR */
#siedbar {
padding:5px;
margin-left:20px;
float:right;
}
HTML
Kod:
<!--ARTICLES-->
<article class="post">
<h1>Welcome in Utilaft</h1>
dsadsadsa
<div class="post-info">8 march 2013</div>
<button class="post-button">Read more</button>
</article>
<article class="post">
<h1>Welcome in Utilaft</h1>
dsadsadsa
<div class="post-info">8 march 2013</div>
<button class="post-button">Read more</button>
</article>
<aside id="siedbar">
fdsf
</aside>
2 dni już się z tym męczę, i nie mam pojęcia.. clear bothy itp. nie pomagają