IE未正确对齐图像

时间:2012-06-01 16:25:59

标签: html5

简单的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没有对齐图像?它目前与左侧对齐。它真的没有比这简单,对吗?

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

1 个答案:

答案 0 :(得分:2)

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