国产成人精品亚洲777人妖,欧美日韩精品一区视频,最新亚洲国产,国产乱码精品一区二区亚洲

您的位置:首頁技術文章
文章詳情頁

css - FireFox border樣式異常

瀏覽:144日期:2023-01-21 16:53:35

問題描述

在FireFox下,頁面里一些table的邊框顯示異常(消失不顯示),但在IE和Chrome下正常;頁面效果:css - FireFox border樣式異常

單元格樣式:css - FireFox border樣式異常

頁面在縮放時,邊框消失的情況會發(fā)生改變。求大神幫忙回答,謝謝!

calendar.css如下:

.calendar { color: rgb(103,103,103); border-collapse: collapse; width: 100%;}.calendar td { border: 1px solid #6f6f6f; text-align: center;}.calendar thead tr:last-child td { border: 0px solid #6f6f6f; border-width:1px 0px 1px 0px; text-align: center;}.calendar thead tr:last-child td:first-child { border:0px solid #6f6f6f; border-width:1px 0px 1px 1px; text-align: center;}.calendar thead tr:last-child td:last-child { border: 0px solid #6f6f6f; border-width:1px 1px 1px 0px; text-align: center;}.calendar-head-oper{ font-size: 18px; cursor: pointer;}.calendar-head-title{ font-size: 16px; letter-spacing: 2px;}.calendar-text {/* background-color: #6f6f6f; */}.calendar-leftbtn { margin-left:5px; float: left}.calendar-rightbtn{ float:right;}/*不可點*/.calendar-td-notclick { color: #DDDDDD;}/*當前*/.calendar-td-today { color: #eb6100;}/*異常*/.calendar-td-abnormal{ color: #eb6100; line-height: 10px; cursor:pointer;}.calendar-td-span-l1{ color: #eb6100; }.calendar-td-span-l2{ color: #0096ff; }/*選中*/.calendar-td-selected { color: #0096ff;}

js中的resize:

$(window).on('resize', function() { $('#index').adjustScreen(); resizecontent();});var resizecontent = function(){ $('.index-content-detail').height($('#index').height() - $('.top').height()*1.1);}

問題解答

回答1:

我想知道框線是不是動態(tài)計算的?是不是resize里有rem處理?chrome和firefox對小數(shù)px的處理不太一樣,但是看不到代碼所以不確定是不是這個原因。

回答2:

td加個border試試

標簽: CSS
相關文章:
主站蜘蛛池模板: 中西区| 阿克| 神木县| 上饶市| 巫山县| 嘉兴市| 乌兰浩特市| 宁武县| 广德县| 永年县| 江津市| 墨竹工卡县| 商南县| 剑阁县| 肇源县| 沽源县| 固原市| 乌拉特中旗| 泰顺县| 上栗县| 兖州市| 修水县| 台东县| 怀宁县| 皮山县| 资阳市| 息烽县| 咸阳市| 长丰县| 甘洛县| 土默特左旗| 弋阳县| 孟连| 沁水县| 昆山市| 仙居县| 繁峙县| 乌拉特中旗| 邳州市| 仙居县| 镇坪县|