HTML5 iFrame Seamless Attribute

后端 未结 10 1095
日久生厌
日久生厌 2020-11-27 14:41

in HTML5 the iframe has new attributes like \'seamless\' that should remove borders and scrollbars. I\'ve tried it but doesn\'t seem to work, I still can see scrollbars and

10条回答
  •  悲哀的现实
    2020-11-27 15:25

    You only need to write

    seamless

    in your code. There is not need for:

    seamless ="seamless"

    I just found this out myself.

    EDIT - this does not remove scrollbars. Strangely

    scrolling="no" still seems to work in html5. I have tried using the overflow function with an inline style as recommended by html5 but this doesn't work for me.

提交回复
热议问题