开发者

pt or px for specifying border-width for print

should i use pt or px when specifying 开发者_如何学Goborder-width in css for media print?

i basically just want hairlines


For print you should use pt, as it's an absolute unit not based on the resolution of the media.


In general you should use points or em's in place of pixels when possible. The reason is that points and ems both scale with the users' resolution or zoom setting where pixels do not. On many larger, high definition or wide screen monitors individual pixels are too small to be reliably useful for placement.


for hairlines use just px

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜