莉薇婭莞夢:
步驟六
‧使用內文與邊界的距離設定,即可拉開文與圖的距離,
.articlebox{
width:720px;
background-image : url(http://);
background-repeat:no-repeat;
background-attachment: fixed;
background-position:left;
padding:10px;/*邊框空白10,依所需調整數值*/
}
【最後】
‧形成假象的首圖;因為此時是還有文章的框線存在的,如果您不想要有框線就是將BORDER設定成0PX。
.articlebox{
width:720px;
background-image : url(http://);
background-repeat:no-repeat;
background-attachment: fixed;
background-position:left;
padding:10px;/*邊框空白10,依所需調整數值*/
border:0px;
}
09-30 18:12