2010-08-23 54 views
-1

http://dev.harveys.co.uk/clients/在IE 7中這個boxmodel問題最好的辦法是處理它嗎?

clients {margin-right:-20px; }

clients .client {float:left;背景:#9d9fa2;寬度:190px; margin:0 8px 8px 0; }

clients .client .inner {min-height:80px; }

.inner {padding:10px; }

clients .last-child {margin-right:0; }

clients .client img {margin-bottom:5px; border:1px solid #aaa; }

<div id="page"> 

    <div id="clients" class="clearfix"> 
     <?php $count = 0;?> 
     <?php query_posts('category_name=Clients&showposts=20&orderby=297,299,308,302,304'); if (have_posts()) : while (have_posts()) : the_post(); ?> 
     <?php $count++; ?> 
     <div class="client <?php if ($count % 3 == 0){ echo "last-child"; }?>"> 
<div class="inner"> 
    <img src="" alt="" width="168" height="104" alt="" /></a> 
    <h2></h2>    

</div><!-- clients --> 
    </div><!-- page --> 

回答

0

您的鏈接已經死了。一般來說,最好的辦法是使用使用這種技術IE6/7 CSS樣式表(略):http://www.quirksmode.org/css/condcom.html

大多數IE特定的CSS錯誤在這裏列出:http://css-tricks.com/ie-css-bugs-thatll-get-you-every-time/

+0

對不起我的錯誤錯誤之一:HTTP://哈維。 co.uk/clients/ – Solidariti 2010-08-23 15:12:36

+0

是的,這就是我使用亞歷克斯,條件性陳述,因爲我的死鏈接,你不能看到那個抱歉。 – Solidariti 2010-08-23 15:14:55

+0

仍然遇到新網址的問題。讓我知道它是什麼,我會看看 – Alex 2010-08-23 17:54:00

相關問題