HTML標記:CSS瀏覽器兼容性問題,創建邊界
<table class='cardc'>
<tr>
<td rowspan='5' width='10%'>
<img src='http://fwfn.ca/sites/default/files/pictures/blank_person.jpg' height='120' width='100'/>
</td>
<td width='70%' colspan='3'>"
."<a href='".$profilePage."&sid=".$sfid."#box-one'>".($record->fields->FirstName)." ".($record->fields->LastName)."</a></font>
</td>
<td>
".$record->fields->Email."
</td>
</tr>
<tr>
<td class='greyF' colspan='3'>
".$record->fields->Country_of_Citizenship__c."
</td>
</tr>
<tr>
<td>
<div class='greyF'>year</div>".$record->fields->Fellowship_year__c."
</td>
<td>
<div class='greyF'>Organization</div>".$record->fields->Partner_Organization__c."
</td>
<td>
<div class='greyF'>Country</div>".$record->fields->Fellowship_Country__c."
</td>
</tr>
<tr>
<td colspan='3'>
<div class='greyF'>Education</div>".$record->fields->Education__c."
</td>
</tr>
<tr>
</tr>
</table>
CSS標記:
.cardc {
border: 5px outset white;
padding: 3px;
width:80%;
}
但正如標題所說,我在跨瀏覽器的問題,邊境那應該覆蓋整個桌子在底部被切斷。
任何關於創建邊界的替代方法的建議?
編輯HTML考慮到每個人的顧慮。邊界仍然不正確。
查看演示here
什麼是跨瀏覽器問題 – 2012-08-05 23:07:34
應該覆蓋整個表的邊界在底部被切斷。 – 2012-08-05 23:09:12
如果你仍然在使用表格佈局來設計你的頁面風格,那麼它不再是一個好主意,當CSS仍然缺乏時,這是一種老派的方式。語義現在非常重要,特別是針對SEO。 – Dan 2012-08-05 23:22:35