/    Sign up×
Community /Pin to ProfileBookmark

Anyone know how to get rid of I-Frame gap in IE and Opera?

Hello friends, Mozilla viewing fine but IE and Opera showing a 4-10 px gap in
my web page when I add another small page to it using an I-Frame. The gap is on the top and the left.

I tried making the smaller page bigger and the I-Frame dimensions smaller, with no luck. Any ideas?? Thank yall.

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@RiannaauthorAug 01.2006 — Well I got IE fixed not Opera yet. For some reason it doesn't take making the dimensions larger or smaller like the other two browsers do. I still have about a 10px gap at the top of the I-Frame. Does anyone know how to use the I-Frame marginHeight command? How do you figure out where the margin is, perhaps I can adust the I-Frame top with it.

Thanks.
Copy linkTweet thisAlerts:
@RiannaauthorAug 01.2006 — Got if finally. I had to make sure that these were added to the i-frame properties: marginWidth="0" marginHeight="0" Adjusting the marginHeight didn't help me. I had to go the page that was being inserted into the iframe and set its top margin to -10. That took care of it.
×

Success!

Help @Rianna spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...