● 下記で自動でCSSを作成できますので利用してください。
画像の横幅、縦幅も自動で求めています。
アメンバー限定画像 CSSの作成http://ameblo.jp/new-bulue9/entry-10633089046.html#Top
/* ----------------------------------------------------- */
/* ■ アメンバー限定記事画像変更 */
/* ----------------------------------------------------- */
.amemberEntryBtn img{
visibility:hidden;
}
.amemberEntryBtn a{
width:168px;
height:50px;
display: block;
overflow:hidden;
outline:none;
margin-left: auto;
margin-right: auto;
text-align: center;
background-image: url(画像のURL) !important;
background-repeat:no-repeat;
background-position: center center;
}
html* .amemberEntryBtn a{/* アメ限画像 IE7対応CSS */
background-position:left top !important;
}
/* ■ アメンバー限定記事画像変更 */
/* ----------------------------------------------------- */
.amemberEntryBtn img{
visibility:hidden;
}
.amemberEntryBtn a{
width:168px;
height:50px;
display: block;
overflow:hidden;
outline:none;
margin-left: auto;
margin-right: auto;
text-align: center;
background-image: url(画像のURL) !important;
background-repeat:no-repeat;
background-position: center center;
}
html* .amemberEntryBtn a{/* アメ限画像 IE7対応CSS */
background-position:left top !important;
}
