Hello,
I have an IFRAME with this style:
width:215px; height:119px; border:0; margin:0; padding:0;
The IFRAME source is an HTML which contains an image having the attribute border=0 (width=215px and height=119px) and the body of this IFRAME src has margin: 0; padding: 0; border: 0.
In FF it looks just fine, in IE appear scrollbars
Attached are 2 images, one for FF and one for IE....
Am I missing something here?
TIA!
Again differences between FF and IE :(
Probably
Did you try making the Iframe space bigger (by a lot) to see if the scrollbars go away. If they do, then make it smaller until you find the size required to make it fit.
Also, have you zeroed padding & margins on the html & body elements in the page containing the image?
Again differences between FF and IE :(
Did you try making the Iframe space bigger (by a lot) to see if the scrollbars go away. If they do, then make it smaller until you find the size required to make it fit.
Yes, I did that, but then IE shows some "border" same colour with the system background colour. I've tried to set the background-color: transparent, but no results.
Also, have you zeroed padding & margins on the html & body elements in the page containing the image?
"....and the body of this IFRAME src has margin: 0; padding: 0; border: 0. " <---- I did this, too
Again differences between FF and IE :(
Interesting, I guess I should have looked up iframe in the first place (or you should ) http://www.w3.org/TR/html401/present/frames.html#adef-scrolling
so
<iframe src="somepage.htm" scrolling="no" />
Again differences between FF and IE :(
That saved my day!!!
Thank you very much!