0

简单的 HTML 代码:

<section class="">

<article class="">
  <h1>Staff Outing - June 29</h1>
  <p><img src="<?php echo base_url(); ?>images/homepage/pointPlay.jpg" width="150" height="113" align="right" >Join us this year on Friday, June 29, 2012, from 10:00am for the annual agency outing. Your <a href="<?php echo base_url(); ?>eventsCommittee">Events Committee</a> has everything in place for a fun and relaxing time for you and your family! Parking will be available, lunch will be provided and plenty of activities will be available for everyone to enjoy. For more information or for questions, please contact an <a href="<?php echo base_url(); ?>eventsCommittee">Events Committee</a> member!</p>
</article>

虽然 IE8 没有对齐图像?它当前与左侧对齐。没有比这更简单的了,对吧?

这与文章/部分标签有关吗?

4

1 回答 1

2

如果我明白你想做什么,而不是 align='right' 做 style='float:right'

于 2012-06-01T16:29:14.120 回答