【发布时间】:2016-09-20 13:48:51
【问题描述】:
我在 WordPress 中创建一个网站,一切顺利,但每当我尝试向网站页面添加图片时,文本不会环绕它们。这些页面应该是在您使用 WP 帐户时创建的,因此涉及的编码最少,并且就 html 而言,每个页面都有自己的编码和格式。我愿意更改 CSS 来解决这个问题,但我不知道从哪里开始。这是关于我们页面的代码:
Cougar Electric Car Company is made up of students at
<a href="http://www.kenn.cr.k12.ia.us/" target="">Kennedy High School</a> in Cedar Rapids, Iowa. Students work in teams to design and construct safe, energy-efficient electric one-person vehicles that they showcase during a series of rallies across the
Midwest. This is hands-on education. Team members apply what they’ve learned in math science, and or vocational education – and more.
<img style="float: right;" src="http://leifsegen.com/sandbox/livia_t/electric-car/wordpress/wp-content/uploads/2016/02/IMG_5139-300x225.jpg" alt="IMG_5139" width="300" height="225" />
<h6>The program is designed to challenge students to:</h6>
<ul>
<li>Apply classroom lessons to build a one-person light electric vehicle</li>
<li>Design and engineer the vehicle to roll safely and efficiently</li>
<li>Use problem-solving skills</li>
<li>Promote efforts in the community to gain support</li>
<li>Compete against other schools to see whose vehicle performs best</li>
<li>Document the design/build/compete process</li>
</ul>
<h6><strong>Since 1997</strong></h6>
The program was launched by two students and Kennedy teacher Barry Wilson in 1997. Since then, the program has impacted hundreds of students and sparked interest in manufacturing, engineering, automotive, alternative energy, and many more career paths.
Here 是我的关于我们页面的链接。
【问题讨论】:
-
因为图像后面的标题应该浮在它旁边,上面设置了
clear:both。这是leifsegen.com/sandbox/livia_t/electric-car/wordpress/wp-content/…的规则