Firefox 5非常奇怪地渲染我的網站。我使用Blueprint CSS框架。這是確定的Firefox 5.Firefox 5渲染與以前版本非常不同
例如之前,
爲捕獲的HTML代碼是:
<div class="span-24 last">
<table class="stripe">
<thead>
<tr>
<th class="span-2">Date</th>
<th class="span-15">Subject</th>
<th class="span-2">Actions</th>
</tr>
</thead>
<tbody><tr>
<td>09/28/2009</td>
<td>
<a class="subject" href="/posts/278?locale=en">acts_as_list scope</a>
</td>
<td>
<a title="Edit" class="icon" href="/posts/278/edit?locale=en"><span class="ss_sprite ss_page_white_edit"> </span></a>
<a title="Delete" rel="nofollow" data-method="delete" data-confirm="Are you sure?" class="icon" href="/posts/278?locale=en"><span class="ss_sprite ss_delete"> </span></a>
</td>
</tr>
<tr class="even">
<td></td>
<td colspan="2">
<p>acts_as_list :scope => :parent (_id is optional. Use symbol instead of string)</p>
<p>acts_as_list :scope => 'board_name = \'#{board_name}\''</p>
<p>If scope column is not 'xxx_id', use the form above.</p>
<p>use single quote.</p>
<p> </p>
<p>http://macdiggs.com/2007/08/27/customizing-scope-in-acts_as_list/</p>
</td>
</tr>
</tbody></table>
<hr>
</div>
或者有時候,在TR Th細胞被包裹在多個線。
Here's related css:
.column, .span-1, .span-2, .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-10, .span-11, .span-12, .span-13, .span-14, .span-15, .span-16, .span-17, .span-18, .span-19, .span-20, .span-21, .span-22, .span-23, .span-24 {
display: inline;
float: left;
margin-right: 10px;
}
* html .column, * html .span-1, * html .span-2, * html .span-3, * html .span-4, * html .span-5, * html .span-6, * html .span-7, * html .span-8, * html .span-9, * html .span-10, * html .span-11, * html .span-12, * html .span-13, * html .span-14, * html .span-15, * html .span-16, * html .span-17, * html .span-18, * html .span-19, * html .span-20, * html .span-21, * html .span-22, * html .span-23, * html .span-24 {
overflow-x: hidden;
}
.span-15 {
width: 590px;
}
我創建了http://jsfiddle.net/cgTaB/
一個的jsfiddle例如這是怎麼回事?
山姆
您可以製作一個[jsFiddle](http://jsfiddle.net/)或[JS Bin](http://jsbin.com/)測試用例來證明同樣的問題嗎? – thirtydot
你能否提供你用於這段代碼的CSS代碼:)? –
個人喜好:我鄙視'blueprint.css'。 'screen.css // grid.css'是我見過的最噁心的CSS文件之一。 – rockerest