tags:

views:

50

answers:

2

I have a page that I don't control the source to. It contains an iframe. The iframe has scrollbars and a border. I want to remove both. I tried using Jquery like this:

$('iframe').attr('scrolling', 'no');

Nothing I do will affect the iframes attributes at all.

Any ideas? (IE8)

A: 

frameborder="0" I believe for the border part. You could play around with css overflow for the scrolling, not exactly sure about that.

meder
Same as the other answer, I don't have control of the html. Hence the reason I am trying to affect it with some injected jquery.
CraigF
A: 

http://www.w3.org/TR/html4/present/frames.html#h-16.5

<iframe scrolling="no" frameborder="0">
David
I can't change the html, I can only inject script.
CraigF