在我的網站上,圖片與較小屏幕尺寸的主要內容文字重疊。在家裏,這很好,因爲我的屏幕更大,但現在我在大學裏,看起來很可怕。CSS - 我的圖片在較小的屏幕尺寸上重疊我的文字
有什麼我可以做的,以解決這個問題?
#content {
font-size:16px;
margin: 0 auto;
width: 955px;
}
這是問題的一個畫面: http://i776.photobucket.com/albums/yy41/tom14431996/problem-1_zpsa410ef94.png
正如你所看到的圖像重疊的文本。
這是我的第一個圖像是如何添加一個例子代碼:
#imageholder1 {
float: left;
left: 2%;
position: fixed;
top: 11%;
border: double;
border-color: #333;
}
這是我的文本代碼:
#content {
font-size:16px;
margin: 0 auto;
width: 955px;
}
你可以創建一個小提琴嗎? http://jsfiddle.net/ –
只需刪除'position:fixed;' –
2014版權所有?哎呀...... – Mooseman