1
我找不出這個填充。我想擺脫我的主頁claireisabelwebb.com上的照片周圍的微妙的頂部和左邊填充。填充難題
這裏是我的CSS:
/* Wrapper for Text and Photo on Home Page */
.wrapper_text_photo{
display:block;
/* float: left; */
position: fixed;;
background: rgba(0,0,255, 0);
height: 800px;
padding-top: 3px;
padding-left: 10 px;
margin-top:20px;
/* margin-left:100px;*/
margin-left:55px;
/* margin-left:100px;*/
margin-top: 232px;
}
/* Photo on Home Page */
.photo_home {
float: left;
margin-right:10px;
padding-left: 10px;
padding-top: 10px;
background: rgba(0,0,255, 0);
}
/* Text on Home Page */
.home_text{
display:block;
position: fixed;
background: rgba(255,255,255,.85);
width:1100px;
height: 480px;
margin-left: 300px;
padding-left: 10px;
padding-right: 5px;
}
.home_text p img {
float:left;
background: rgba(255,255,255, .85);
}
和HTML:
<!-- Text and Photo __________________________________________-->
<div class="wrapper_text_photo">
<div class="home_text">
<p><img class="photo_home" src="http://claireisabelwebb.com/images/Home/claire-ed.jpg" alt="person_name" height="280px" />I graduated in YYYY from XXXX College with departmental honors in SUBJECT. As a junior, I participated in a XXXX mission in PLACE. <br><br>
Email me at [email protected]
<br>
»try scrolling this page up and down«
</p>
</div>
</div>
這是我很難看到那裏的邊距和填充是爲包裝,這如何與每個元素的相互作用(照片和文本框)填充和邊距。這是編碼的正確方法嗎?
謝謝!
你總是30秒打我的答案。 ;) – Michael 2013-03-19 16:35:58
人們稱我爲幾個網站和聊天室中的狙擊手我在:p – 2013-03-19 16:36:38
謝謝,我曾嘗試過。這很好,但我希望有填充的間距。我只是不明白爲什麼它是白色的,不透明。 – Claire 2013-03-19 16:37:31