Home  >  Article  >  Web Front-end  >  dreamweaver定义表格css 不同浏览器打开粗细不同??求破_html/css_WEB-ITnose

dreamweaver定义表格css 不同浏览器打开粗细不同??求破_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:16:51791browse

我的css


回复讨论(解决方案)

可能是不同的浏览器对thin这个定义不相同吧,要相同就直接改成一个固定的像素的那种,比如改成1px,这样试试

我的css

border: thin solid #00FF99;
中的thin改一下子呢~~试试结果

浏览器问题,经常会遇到这个问题

我的css

padding的意思可不是框的宽度哦,这个区W3C看看padding,margin,border的区别吧,挺重要的。

额  楼主先看看盒模型吧

可以将border改成确定值的粗细不就完了么,例如:border:1px;对于thin的话,每个浏览器默认的不一样

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn