2011-11-07 16 views
1

このページ:www.incfilms.net/services私の目標は、広告とコンサルティングの写真をその段落の右側に移動することです。フロート:右のコマンドはフッタを下から削除します

メインページがあります:私はおそらくフロート権を使用しているはずの

.serviceinfo { 
    width: 600px; 
    text-align: left; 
    clear: both; 
    color: white; 
    font-family: Arial, Helvetica, sans-serif; 
    font-size: small; 
} 
.adconsul { 
    width: 350px; 
    float: right; 
    margin: auto; 
    color: white; 
    padding-bottom: 100px; 

} 

、しかし、私はその画像を得ることができる方法があります:

<div class="serviceinfo">I am Not a Communist is now proud to offer a new range of digital video and media services to you and your business. We're calling it INC Pro. 
<p>We are able to meet and focus with our clients on finding customizable solutions that are specific to their exact needs and objectives. 
<p>We encompass the expertise and capabilities to create professional quality media; offering a number of services ranging from pre 
through post production consultation, shooting and capturing, editing, color matching, audio leveling and digital mastering. 
<p>Please contact us for a quote or more information at <?php echo $adminemail; ?> or call at <?php echo $phonenum; ?>. 
</div> 


<!--ADVERTISING AND CONSULTING LOGO --> 
<div class="adconsul"><img src="media/advert.png" width="350" height="120"/></div> 

とCSSのシートを持っています段落の右側に、フッターを下にしておきますか?ありがとう

答えて

4

フロートを入れてみてください:あなたは浮動divを

<div style="clear:both;"></div> 
+0

私はフロートを入れた後、以下を使用したいと思う 右.serviceinfoクラスで:SERVICEINFOとにおけるフロート右に左.adconsul。これは両側にそれらを得るために働いた。フッターが現れないようにするために「クリアリング」は何をしますか?あなたの助けをありがとうbtw –

+0

クリア:両方の並べ替えは浮動小物全体をリセットします。私は細かいことはわかりませんが、divを左右に浮かべると、終わったら明瞭にする必要があります。次のdivは独自のセットになります。 – rogerlsmith

+0

私は理解しています。おかげさまで、本当にありがとうございます。 –

関連する問題