css3 - border-radius兼容性问题
问题描述
想设置table的四个角是圆弧状,但是下边的两个角在火狐中无法显示出来。在谷歌中可以正常显示
table上部分的代码:`<thead>
<th class='col1 header radius_t'>table header</th> <th class='col2 header'>th2</th> <th class='col3 header radius_r'>th3</th></thead>`
table下边的代码:
<tr class='dan rad_bot'> <td class='col1 radius_l'>row seven</td> <td class='col2'>val</td> <td class='col3 radius_b'>val</td></tr>
#r5 .radius_t{ border-radius: 5px 0 0 0;}#r5 .radius_r{ border-radius: 0 5px 0 0;}#r5 .radius_b{ -moz-border-radius-bottomright: 5px;}#r5 .radius_l{ -moz-border-bottom-left-radius: 5px;}

问题解答
回答1:首先有个建议 thead 里面套了tr别忘记其次:写法是这样的顺序 你看下是不是写错了border-top-left-radius: 2em 0.5em;border-top-right-radius: 1em 3em;border-bottom-right-radius: 4em 0.5em;border-bottom-left-radius: 1em 3em;
相关文章:
1. mysql - 数据库设计问题2. python - 多态调用方法时却显示bound method...3. node.js - win10如何安装并使用babel?4. linux - 为什么我在mysql的my.cnf下找不到bind-address?5. mysql sql where id in(25,12,87) 结果集如何用按照 25 12 87排序?6. mysql - 一个sql的问题7. web服务器 - ubuntu下布置apache加wsgi加python8. mysql - 数据库字段命名问题,新人,求解9. python - django 项目的 migrations 目录是否应该提交到 git10. mysql索引的疑问

网公网安备