2012-06-01 60 views
0

簡單的HTML代碼:IE不對準的圖像正確

<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未對準的圖像?它目前與左邊對齊。它並沒有比這更簡單,對吧?

這是否與文章/部分標籤有關?

+0

確保您要關閉部分標籤和所有其他標記格式正確無誤的。否則,IE可能有解析問題。 –

+0

奇怪。適用於我http://jsbin.com/iropoc/edit#preview –

+0

你也沒有關閉你的標籤 –

回答

2

,而不是ALIGN =「右」做風格=「浮動:權利」如果我理解你想要做

+0

同意。 align屬性已被棄用,但在IE8中應該可以正常工作。 –

+0

float:right;工作......但喬希是對的,對齊應該在IE8中工作。無論如何,在星期五我的頭太多了。謝謝你的提示! – ClaytonDaniels