0
私はいくつかのCSSで作業していますが、何か問題があるはずです。 CSSはデスクトップ版と私のSony Xperia Z3でも完璧に動作します。 しかし、それは私のサムスンのタブレットで行う必要はありません。DIVの背景がSamsungのタブレットに表示されない
とにかくこれは私のCSSです。
.normal {
background-image: url('halftone.png');
margin: auto;
padding: 5px;
background-repeat: repeat;
min-height: 100px;
}
.normal1 {
background-image: url('halftone.png');
padding: 5px;
float:left;
margin-bottom: 10px;
background-repeat: repeat;
min-height: 100px;
}
.normal2 {
background-image: url('images/bg.png');
margin-bottom: 10px;
width: auto;
padding: 5px;
float:right;
background-repeat: repeat;
min-height: 100px;
}
#bar {
padding: 5px;
margin-bottom: 10px;
color: #FFFFFF;
font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: bolder;
font-size: 16px;
text-align: center;
text-shadow: 0px 0px rgba(0,8,33,1.00);
vertical-align: middle;
background-image: url('images/bar.png');
background-repeat: repeat;
width: auto;
}
だから、私の背景画像
まで表示されませんが、面白いことにあります。このコードは、HTMLのようなものが
<div class="normal1">
<div id="bar">TITLE HERE</div>
lot's of text
</div>
ので、任意のアイデアは、私が欠けているように見えます
#news {
background-image: url('back.png');
background-repeat: repeat;
padding: 5px;
font-size: 15px;
width: auto;
}
動作しますか?
また、背景画像が表示されません(他のdivの画像と同じように500px x 500pxの画像のみが繰り返し表示されます)。背景色のみを表示します。