之前我的部落格是yahoo的,結束之後搬到yam來, 結果yam版面寬度的關係,讓我之前在yahoo文章的橫式照片被切掉1/3。
而yam部落格提供三種尺寸照片供上傳(600 x 600、800 x 800、1024 x 1024),為了讓照片能整張呈現,橫式的照片只限上傳600 x 600,我也去問過客服部版面能否改寬?他們回說目前標準的版面只適合放600 x 600,很多人會透過修改css的部份去調整版面的寬度。
也就是說我要自己去修改css,但問題這方面我根本就不懂,想請教各位大大能否教我如何修改呢?最大的寬度能改到多寬呢?越詳細越好,最好是有改好的範本讓我抄。
感謝各位,拜託了~
我的CSS如下,拜託了,謝謝。(因為最多只能發表300個字,所以分批貼上) @charset utf-8; /* -------------------------------------- * sky_new * -------------------------------------- */ /*拉霸設定 HTML{ SCROLLBAR-FACE-COLOR: #ffffff; SCROLLBAR-HIGHLIGHT-COLOR: #789ABB; SCROLLBAR-SHADOW-COLOR: #789ABB; SCROLLBAR-3DLIGHT-COLOR:
: #ffffff; SCROLLBAR-ARROW-COLOR: #789ABB; SCROLLBAR-TRACK-COLOR: #ffffff; SCROLLBAR-DARKSHADOW-COLOR: #ffffff; }*/ A:link { COLOR: #789ABB; TEXT-DECORATION: none; } A:visited { COLOR: #78AEBB; TEXT-DECORATION: none; } A:hover {
COLOR: #31608C; BORDER-BOTTOM: #789ABB 1px dotted; TEXT-DECORATION: none; } A:active { COLOR: #789ABB; TEXT-DECORATION: none; } hr { COLOR: #789ABB; HEIGHT: 1px; } BODY { BACKGROUND: #fff repeat-x; MARGIN: 0px; COLOR: #666666;
FONT-FAMILY: Verdana, Arial, Georgia, Helvetica, sans-serif; FONT-SIZE: 11px; letter-spacing:0.05em; } A IMG { color:#CCCCCC; BORDER-TOP-WIDTH: 0px ; BORDER-LEFT-WIDTH: 0px ; BORDER-BOTTOM-WIDTH: 0px ; BORDER-RIGHT-WIDTH: 0px ; BACKGROUND: #fff; PADDING-RIGHT: 3px;
PADDING-LEFT: 3px; PADDING-BOTTOM: 3px; PADDING-TOP: 3px; } IMG.profile { BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; MARGIN-BOTTOM: 5px; BORDER-RIGHT-WIDTH: 0px; } /*#mainFrame|部落格整體框架設定*/ #mainFrame {
BACKGROUND: url(http://pics.yamedia.tw/themes/sky_new/images/mainbg.jpg) transparent repeat-y left top; MARGIN: 0px auto; WIDTH: 960px; POSITION: relative; TEXT-ALIGN: left; } /* topbar */ #topbar{ top: 7px; z-index: 10; color: #789ABB; width: 150px; float: left;
padding-left: 35px; } #companyBar A { COLOR: #789ABB; BACKGROUND: none transparent scroll repeat 0% 0%; } #companyBar SPAN.logo { display:none; } #companyBar A:link { COLOR: #789ABB; TEXT-DECORATION: none; } #companyBar A:visited { COLOR: #789ABB; TEXT-DECORATION: none; }
#companyBar A:hover { COLOR: #31608C TEXT-DECORATION: none; } #companyBar A:active { COLOR: #789ABB; TEXT-DECORATION: none; } #adText { position: absolute; top: 8px; left: 204px; width: auto; } #adText a { color: #000; } #commend{ width:180px; float: right;
text-align: center; color: #789ABB; } #linkLogin { float:right; position: relative; top: 7px; display: block; font: #789ABB; } #linkLogin A { COLOR: #789ABB; BACKGROUND: none transparent scroll repeat 0% 0%; } #linkLogin A:link { COLOR: #789ABB; TEXT-DECORATION: none; }
#linkLogin A:visited { COLOR: #789ABB; TEXT-DECORATION: none; } #linkLogin A:hover { COLOR: #31608C; TEXT-DECORATION: none; } #linkLogin A:active { COLOR: #789ABB; TEXT-DECORATION: none; } /* topbar end */ /* banner|上方banner設定*/ #banner {
BORDER-LEFT: medium none; WIDTH: 960px; BORDER-BOTTOM: medium none; HEIGHT: 148px; background-color: #ffffff; background-image: url(http://pics.yamedia.tw/themes/sky_new/images/banner.jpg); background-repeat: no-repeat; background-position: right top; }
#banner a:link, #banner a:visited { color: #fff; text-decoration: none; } #banner a:hover, #banner a:active { color: #57453E; } h1 { FONT-SIZE: 24px; text-align:left; left:50px; WIDTH: 500px; COLOR: #FFF; FONT-FAMILY: Arial Black; POSITION: absolute; TOP: 60px; LETTER-SPACING:0.03em;
LINE-HEIGHT: 120%; height: 80px; } h1 A { COLOR: #000; } h2 { PADDING-LEFT: 100px; FONT-SIZE: 11px; WIDTH: 780px; BORDER-LEFT: #a3cbc5 0px solid; COLOR: #DDF1FF; LINE-HEIGHT: 170%; text-align:left; FONT-FAMILY: Georgia, Verdana,Helvetica, Arial,sans-serif;
POSITION: absolute; TOP: 100px; } /* banner end */ /* navBar|選擇頻道 */ #navBar { padding-LEFT: 30px; WIDTH: 876px; LETTER-SPACING: 0.1em; POSITION: absolute; TOP: 150px; LINE-HEIGHT: 180%; } #navBar A:link {
color:#789ABB; MARGIN-RIGHT: 0px; PADDING-LEFT:5px; PADDING-right:2px; PADDING-top:3px; PADDING-bottom:3px; LETTER-SPACING: 4px; } #navBar A:visited { color:#789ABB; MARGIN-RIGHT: 0px; PADDING-LEFT:5px; PADDING-right:2px; PADDING-top:3px;
PADDING-bottom:3px; LETTER-SPACING: 4px; } #navBar A:hover { MARGIN-RIGHT: 0px; PADDING-LEFT:5px; PADDING-right:2px; PADDING-top:3px; PADDING-bottom:3px; LETTER-SPACING: 4px; color:#31608C; }
#navBar A:active { color:#789ABB; MARGIN-RIGHT: 0px; PADDING-LEFT:5px;PADDING-right:2px; PADDING-top:3px; PADDING-bottom:3px; LETTER-SPACING: 4px; } /* navBar end */ /* contentBlock|中間大區塊設定 */ #contentBlock {
BACKGROUND: url(http://pics.yamedia.tw/themes/sky_new/images/mainbg.jpg) transparent repeat-y left top; WIDTH: 960px; TEXT-ALIGN: left; padding-top:12px; height:100%; } /* MainSide |旁邊大區塊設定*/ #MainSide {
BORDER-RIGHT: medium none; PADDING-RIGHT: 20px; BORDER-TOP: medium none; margin-LEFT: 0px; FONT-SIZE: 12px; Z-INDEX: 2; BORDER-LEFT: medium none; WIDTH: 190px; COLOR: #FF6600; LINE-HEIGHT: 1.4em; PADDING-top: 9px; PADDING-bottom: 20px; BORDER-BOTTOM: medium none; float: right;