Ето първо демо на дизайна, който подготвям.
Когато добавя още radio бутони в анкетата статията със Спайдър-мен се разтяга надолу. Защо се получава това при положение, че между анкетата и статията няма нищо общо ?
Ето малко код:
Статии
Radio бутони
Статии
[css].list-info {width: 48%; float: left;}
.list-info h1 {margin: 10px 0 0 10px; font-family: haettenschweiler, arial narrow, arial, sans-serif; font-size: 300%; text-transform: uppercase;}
.list-info .date-day {color: #b9b8b8; font-size: 100%; margin: 0 0 0 10px;}
.list-info p {color: #000; font-size: 100%; margin: 25px 0 0 10px;}
.latest-posts-headline {font-family: arial, sans-serif; font-size: 20px; color: #353535; margin: 270px 0 0 10px;}
#latest-post-list li {width: 100%; border-bottom: 1px solid #dcdcdc; margin-left: 10px; padding-bottom: 20px;}
#left-container h1 a:hover {color: #355c7d;}
#left-container h1 a {line-height: 1;}
#latest-post-list li:last-child {border: none;} [/css]
Radio бутони
[css] .pool {margin-top: 30px;}
.pool h2 {margin-left: 17px;}
.pool fieldset {margin: 20px 0 0 10px; display: inline;}
[/css]
Когато добавя още radio бутони в анкетата статията със Спайдър-мен се разтяга надолу. Защо се получава това при положение, че между анкетата и статията няма нищо общо ?
Ето малко код:
Статии
HTML:
<div id="latest-posts">
<ul id="latest-post-list">
<li class="clearfix">
<img class="clearfix" src="img/latest4.gif" />
<span class="list-info clearfix">
<h1><a href="#">Zaglavie</a></h1>
<p class="date-day">data</p>
<p>Opisanie na statiqta</p>
<p class="read-more"><a href="#">Read More...</a></p>
</span>
</li>
</ul>
</div>
Radio бутони
HTML:
<div class="popular-posts-bg pool">
<div class="red-sticker">
<div class="little-triangle"></div>
<h2>Pool</h2>
</div>
<h1>Who is stronger: Superman or Goku ?</h1>
<form action="" method="">
<fieldset>
<input type="radio" class="radio"/><label>dsa</label><br />
<input type="radio" class="radio"/><label>dsa</label><br />
<input type="radio" class="radio"/><label>dsa</label><br />
<input type="radio" class="radio"/><label>dsa</label><br />
<input type="radio" class="radio"/><label>dsa</label><br />
</fieldset>
</form>
</div>
Статии
[css].list-info {width: 48%; float: left;}
.list-info h1 {margin: 10px 0 0 10px; font-family: haettenschweiler, arial narrow, arial, sans-serif; font-size: 300%; text-transform: uppercase;}
.list-info .date-day {color: #b9b8b8; font-size: 100%; margin: 0 0 0 10px;}
.list-info p {color: #000; font-size: 100%; margin: 25px 0 0 10px;}
.latest-posts-headline {font-family: arial, sans-serif; font-size: 20px; color: #353535; margin: 270px 0 0 10px;}
#latest-post-list li {width: 100%; border-bottom: 1px solid #dcdcdc; margin-left: 10px; padding-bottom: 20px;}
#left-container h1 a:hover {color: #355c7d;}
#left-container h1 a {line-height: 1;}
#latest-post-list li:last-child {border: none;} [/css]
Radio бутони
[css] .pool {margin-top: 30px;}
.pool h2 {margin-left: 17px;}
.pool fieldset {margin: 20px 0 0 10px; display: inline;}
[/css]