我正在创建一个团队页面。但是我的团队详细信息 div 容器根本没有进入可用的空白。这是我的 jsfiddle:http: //jsfiddle.net/XxDFb/5/
HTML:
<div class="team-wrapper">
<div class="team-member-photo">
<img alt="pic" src="http://placehold.it/134x108">
</div>
<div class="team-member-social-network-links">
<a class="url" href="http://www.repeatpenguin.com" title="repeatpenguin.com" rel="me">Twitter</a> / <a class="url" href="http://www.repeatpenguin.com" title="repeatpenguin.com" rel="me">Facebook</a>
</div>
<div class="team-details">
<p class="name">Firstname Surname</p>
<p class="job-title">Job title</p>
<p class="email">Email Address</p>
<p class="tel">112-123-1232</p>
<p class="desc">CONTENT BLOCK</p>
</div>
CSS:
div.team-wrapper {
background-color:#dedede;
padding:10px;
}
div.team-member-photo{
width:135px;
height:109px;
}
div.team-member-social-network-links{
width:135px;
height:109px;
}
div.team-details {
border:1px solid red;
width:300px;
float:right;
}