這裏是我的代碼,我想通過在兩個div之間添加hr來分隔2個div,任何人都可以幫助我添加一個小時,它將擴展到整個線以下的介紹和圖片介紹,作爲HR只延長到介紹的形象,所以任何人都可以幫助我的HR-我無法添加延伸到整個行下面的小時
#intro{
font-family: 'Sansita', sans-serif;
font-size: 170%;
float: right;
width: 50%;
margin-right: 20px;
margin-left: 10px;
color: #ff471a ;
}
#introImage {
float: left;
width: 40%;
margin-left: 70px;
margin-top: 35px;
box-shadow: 10px 10px grey;
border-radius: 10px;
}
#hitchhiking-info {
margin-top: 20px;
width: 100%;
height: 100px;
text-align: center;
background-color: blue;
float: none;
}
<div id="intro-div">
<p id="intro"> Hello There! I have made this website to share my experiences of hitchhiking, which is my full time job. I want to inspire other hitchhikers as well and inspire people. This website will hopefully clear all your misconceptions about hitchhiking as a proffession, as it is underrated and critisized by people. However I have a very different perspective about hitchhiking, you will get to know about it through my website. This website is a mean I will be using to reach to people around the world. Fell free to comment any suggestions or feedback of my experiences and contact me for any query </p>
<img id="introImage" src="intro-image.jpg">
</div>
<div id="hitchhiking-info">
<h1 id="heading"> Hitchhiking </h1>
</div>
發佈當前設計 – affaz
截圖斷章取義的:請注意你的文字錯字:‘這一定是’「下跌免費...感覺免費...「(最後一句) – Arendax
謝謝Arendax –