2000FUN論壇

 

 

搜索
2000FUN論壇 綜合論壇 寫我生活(網誌分享) 有辦法可以做到兩張背景,其中一張細一點背景,蓋在大的那 ...
返回列表 發新帖 回覆
查看: 1460|回覆: 3
go

有辦法可以做到兩張背景,其中一張細一點背景,蓋在大的那張上面嗎? [複製鏈接]

Rank: 1

UID
434171 
帖子
51 
積分
43 
Good
0  
註冊時間
05-6-22 
在線時間
90 小時 
1#
發表於 09-6-3 05:48 PM |只看該作者 |倒序瀏覽 |打印
有辦法可以做到兩張背景,其中一張細一點的背景圖,蓋在大的那張上面嗎?

我是用無名的~
以下該段css
------------------------------------------------------------------------------------------------------------------------------------------
/*--基本設定--*/

body
{
margin:0;font-size:12px;color:#fff;
background:#000 url(http://xbe.xanga.com/45af25e513c32244851970/m194086911.jpg) fixed right top no-repeat;
padding-top:7%;font-family:Georgia, "Times New Roman", Times, serif;
}

------------------------------------------------------------------------------------------------------------------------------------------

這張我想全個畫面重複著          http://hiphotos.baidu.com/so%EB%E0/pic/item/d700de030e0a677f3812bb45.jpg)
這張我想放在上面果層 , 放係右下角 固定的   http://xbe.xanga.com/45af25e513c32244851970/m194086911.jpg
------------------------------------------------------------------------------------------------------------------------------------------

有高手可以教教我嗎?








css
----------------------------------------------------------
/*
Produced by [ waitingchou ]
2009.05.17
*/

/*--基本設定--*/

body
{
margin:0;font-size:12px;color:#fff;
background:#000 url(http://xbe.xanga.com/45af25e513c32244851970/m194086911.jpg) fixed right top no-repeat;
padding-top:7%;font-family:Georgia, "Times New Roman", Times, serif;
}

div, ol, ul, li, p, img, dd, dl, dt {margin:0;padding:0;border:none;list-style:none;}
a:{text-decoration:none;color:#c76a51;}
a:hover {text-decoration:underline;color:#feea62;}

p
{
background-image:url(http://hiphotos.baidu.com/so%EB%E0/pic/item/d700de030e0a677f3812bb45.jpg);
background-repeat:repeat;
}

/*--總區域--*/
#bigcontainer {width:860px;margin:0 auto;padding-right:250PX;}

/*--banner 標題區塊--*/
#banner {
position:relative;margin:5px 0 10px;
background-image:url(http://hiphotos.baidu.com/so%EB%E0/pic/item/d700de030e0a677f3812bb45.jpg);
background-repeat:repeat;
width:700px;
}

#pageheader h1 {
line-height:1.0em;margin:0;padding:5px 0 14px 0;font-size:20px;}
#pageheader h1 a {display:block;color:#f3bf3c;}
#pageheader h1 a:hover{color:#feea62;}
#pageheader h1 span{font-size:15px;font-weight:normal;}
#pageheader #description2{color:#666;font-weight:bold;font-size:13px;}

/*--側邊連結選單--*/
#links {width:230px;float:left;margin-top:25px;overflow:hidden;}
#links a{color:#7f604c;}
.sidetitle {padding:6px;color:#97704b;background:#22160E;margin:10px 0;
background-image:url(http://hiphotos.baidu.com/so%EB%E0/pic/item/d700de030e0a677f3812bb45.jpg);
background-repeat:repeat;}
.side {color:#a5a5a5;padding:6px;line-height:1.3em;margin-bottom:10px;}

/*--主內容區塊--*/
#content {width:580px;float:right;background:#000;

background-image:url(http://hiphotos.baidu.com/so%EB%E0/pic/item/d700de030e0a677f3812bb45.jpg);
background-repeat:repeat;
filter:alpha(opacity=80);opacity:0.8;padding:10px 20px;line-height:1.5;}
.blogbody {border-bottom:1px solid #b4b4b4;margin-bottom:12px;}
.date {font-size:11px;color:#444;margin-bottom:11px;}
.innertext {padding:40px 0 0;width:580px;overflow:hidden;}
.articletext .title {
margin:0;
padding:10px 30px;
display:inline;
font-size:15px;
color:#000;
background:#c76a51;
line-height:1.8;
}
.extended{margin-top:10px;}
.posted {margin-bottom:40px;}
.clearfix{margin-top:20px;}
body #content #push{float:right;}
body .bookmark {clear:both;display:block;text-align:left;padding:0;}
body #article_counter, body #reading{text-align:left;}

.comments-head{
padding:5px 80px 5px 30px;
font-weight:bold;
display:inline;
font-size:13px;
color:#000;
background:#c76a51;
}
.comments-bottom .comments-head{padding-right:150px;}
body .comments-body{padding-left:0;}
body .comments-author{background:#111;color:#fff;}
body .comments-author .comments-post{color:#fff;}
body .trackbacks-post, .comments-post{color:#666;}
body .comments-body {border-bottom:1px solid #222222;}

[[i] 本帖最後由 幻龍特工 於 2009-6-3 05:52 PM 編輯 [/i]]

Rank: 7Rank: 7Rank: 7Rank: 7Rank: 7Rank: 7Rank: 7

UID
2981 
帖子
3923 
積分
3032 
Good
24  
註冊時間
02-8-13 
在線時間
2289 小時 
2#
發表於 09-6-3 07:20 PM |只看該作者
其實....
點解唔係小畫家度痴好晒幅圖再將佢當一幅咁up上去?


我唔識d指令,希望咁幫到你啦

Rank: 1

UID
434171 
帖子
51 
積分
43 
Good
0  
註冊時間
05-6-22 
在線時間
90 小時 
3#
發表於 09-6-3 07:23 PM |只看該作者
原帖由 roger0647 於 2009-6-3 07:20 PM 發表
其實....
點解唔係小畫家度痴好晒幅圖再將佢當一幅咁up上去?


我唔識d指令,希望咁幫到你啦


因為一張圖係會閃閃的 , 一張唔識閃@@"

Rank: 7Rank: 7Rank: 7Rank: 7Rank: 7Rank: 7Rank: 7

UID
2981 
帖子
3923 
積分
3032 
Good
24  
註冊時間
02-8-13 
在線時間
2289 小時 
4#
發表於 09-6-3 07:45 PM |只看該作者
原帖由 幻龍特工 於 2009-6-3 07:23 PM 發表


因為一張圖係會閃閃的 , 一張唔識閃@@"

一齊做gif都可以

不過張圖會好大

嘿....我唔識指令淨係識呢d煩方法
‹ 上一主題|下一主題
你需要登錄後才可以回帖 登錄 | 免費註冊

聯絡我們|Archiver| 2000FUN論壇

SERVER: 2 GMT+8, 25-11-11 05:44 PM , Processed in 0.034032 second(s), 10 queries , Gzip On.

Sponsor:工作間 , 網頁寄存

Powered by Discuz! X1.5.1

© 2001-2010 Comsenz Inc.