开发者

HTML tables display as variable px width in IE

开发者 https://www.devze.com 2023-02-01 22:03 出处:网络
The HTML tables on my site look nice and the way I intend them to in 开发者_开发百科Safari/ Firefox / Chrome, but look far wider than the set pixel size in IE. Any ideas?

The HTML tables on my site look nice and the way I intend them to in 开发者_开发百科Safari/ Firefox / Chrome, but look far wider than the set pixel size in IE. Any ideas?

The tables in IE: http://screencast.com/t/mm7G7yDI

The code: http://pastebin.com/g5YPaLc3


@Alex: Change

border-width: .5px;

to

border-width: 1px;

and it should work the same in all browsers.


You're specifying both border="2" and border-width: .5px. Remove border="2" and use border-width: 1px; border-style: solid and it should work consistently across all browsers.

0

精彩评论

暂无评论...
验证码 换一张
取 消