關於CSS,相簿標題右移了... - 部落格

Table of Contents

http://www.wretch.cc/album/colorfuljk 這是我的相簿。

之前的相簿名稱都會置中,
不知道為什麼後來前陣子開始偏右。

我有從樣式管理裡面試圖找出一樣的版型重新套入,
不過大概是眼殘... 沒找著...

大概只能靠修改CSS來處理了,無奈我對CSS很不熟...
只好上來找高手求救= =a...

以下為CSS內容。

body {
background:url(http://l.yimg.com/e/style/10/1023/1596557419.jpg);margin:8px 0
0;padding:0px;}

table {
background:#131728;}

body ,
.small-c ,
table ,
b
{
font:normal 12px/150% Verdana, Arial, Helvetica, sans-serif
!important;color:#a4a4a4;text-align:right;}
input.small-c {text-align:center;color:#000000;}

a {
color:#b38f6b;text-decoration:none;}
a:hover {
color:#e8cea9;}

/* 相簿名稱 */
#banner {
background:url(http://l.yimg.com/e/style/10/1023/o1596557420.jpg) no-repeat
left top;padding:110px 20px 0
0;height:auto!important;height:160px;min-height:50px;overflow:hidden;}
#banner a {
font-size:15px;color:#deb98f;}
#banner a:hover {
color:#fae5c3;}

/* 上方操作區 */
.sidetitle {
background:url(http://l.yimg.com/e/style/10/1023/o1596557420.jpg) no-repeat
left -160px;height:90px;padding:0 20px 0
0;overflow:hidden;vertical-align:top;}
#MySpace {
padding:0 0 5px 0;}
#rss {
text-align:right;padding:5px 0 0;}

/* 相片框 */
.side {
background:url(http://l.yimg.com/e/style/10/1023/1596557421.jpg) no-repeat
center top;width:121px;height:134px;}


我原本的做法只是想說把第一個right改為center,(第二個是rss的位置)
但如此一來,我相簿中的針對MD的描述也會跟著置中,原本不會這樣子的...

請問應該要修改哪裡才可以使得相簿標題能夠置中,
點進去後MD描述又可以維持原本靠右嗎?

再次感謝各位出手相助。

--

All Comments

Belly avatarBelly2011-12-06
上面你所述的CSS都不用動,請在CSS中新增下面這句,
body table#ad_square font a {text-align: center;}
Necoo avatarNecoo2011-12-06
存檔完工…
Ethan avatarEthan2011-12-08
感謝!! 順利解決了!!