我試圖移動Uni部分,以便它坐在其他段落和標題的一側。我已經試過向左漂移,它似乎並沒有移動。 http://jsfiddle.net/loopy333/0sz6kt0a/2/我如何移動底部部分坐在其他標題和段落的右側
任何幫助將是巨大的
<div class ="container">
<div id="education" class ="learn-more">
<h2>Education</h2>
<h3>2003 - 2008 Haslingden High school</h3>
<p>9 GCSEs
Grades B - C</p>
<h3>2008 - 2010 Haslingden High School sixth form </h3>
<p>3 A levels IT (B)</p>
<p>Level 3 BTEC National Award in Applied science (Forensic science (Pass)</p>
<p>level 3 BTEC National Award in Media production (print-based media) (Distinction)</p>
<div class="uni">
<h3>2010 - 2013 Bachelor of Science in Engineering and Multimedia Computing 2:2
Manchester Metropolitan University</h3>
<p>BSE Course subjects Studied
Introduction to Programming, Object Oriented Programming 1,2 ,3 & 4, Algorithms, Structured Analysis and Design, Object Oriented Analysis and Design
Computer Architecture, Operating Systems
Network Fundamentals, Routing Concepts and Protocols, Local Area Networks (LAN) Switching and Wireless, Wide Area Networks (WAN) Services and Security
Database Concepts, Introduction to Database Programming
Visual Communications, Web Design, Digital Imaging, Web Design for Multiple Platforms, Human Computer Interaction.
Multimedia Design & Development, Computer Graphics, Animation in 2D& 3D, Digital Audio, Digital Video Production
Interactive Web Media.
</p>
</div>
</div>
</div>
CSS:
.learn-more {
background-color: #f7f7f7;
clear: both;
overflow:auto;
}
.learn-more .uni {
float:left;
}
.container {
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto; }
@media (min-width: 768px) {
.container {
width: 750px;
}
}
@media (min-width: 992px) {
.container {
width: 970px;
}
}
@media (min-width: 1200px) {
.container {
width: 1170px;
}
}
在另一把一切之前, div容器並將該容器浮動。從'''.uni'''中移除浮動。 – onetwo12 2014-08-28 15:33:00