开发者

control text align and float in iframe

I have a iframe with a width of 450 with text inside and I want to align this text on the right hand side of the 开发者_StackOverflow社区iframe. I don't have access to the iframe to change it.


I don't have access to the iframe to change it.

Then I'm afraid what you want to do is impossible. The Same Origin Policy prevents any and all access to the DOM of that iFrame.

You would have to use a server-side script to fetch the iframe's contents.


You cant do this if it is XS (Cross-Site)

This could only be achieved if you had access to the iframe'd file.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜