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