HTML print with absolute postitions

前端 未结 6 1304
野的像风
野的像风 2020-12-30 00:51

Is it possible to print a HTML page with truly absolute positioned elements to paper? It seems all browsers are doing a big mess here. It is easy to define a body by absolut

6条回答
  •  鱼传尺愫
    2020-12-30 01:20

    I have tested browser status for printing "position:absolute" elements with the following results:

    • IE 11: Fail. Doesn't matter what OS, 7,8,8.1.
    • IE 10: Pass. However, you cannot revert to 10 on 8.1 so folks with that are stuck.
    • Firefox up to 38.05 = Fail. Unknown if any version ever worked.

    The good news is that it looks like the Blink/WebKit people did their homework instead of using poor code.

    • Chrome: Pass
    • Opera: Pass

提交回复
热议问题