HTML開発ブログの詳細(xì)ページデザイン(2)
コンテンツ列
コンテンツボックスのDIVを作成し、IDセレクターをblog-contentとして定義します。
次に、CSSのスタイルを調(diào)整します。
<div id="blog-content"> <p class="siztitle">測試標(biāo)題測試標(biāo)題測試標(biāo)題測試標(biāo)題測試標(biāo)題</p> <p style="margin-top: 50px;color: gray" ><img src="/upload/course/000/000/004/58170f99f2430105.png" >測試<img src="/upload/course/000/000/004/58170fbda3f34844.png" style="margin-left: 20px">2016/10/31</p> <p class="rev"style="color:gray;">簡介</p> <p class="content">測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容測試內(nèi)容</p> </div>
境界線を追加し、フォントのサイズと色を調(diào)整すると、変更された効果は下の図のようになります
コンテンツ列が完成しました。