/    Sign up×
Community /Pin to ProfileBookmark

iframe height not set within div

Hi,
I am developing a floating div. It contains a div with two children. The main div is positioned absolute with some height and width. The first child is another div for title and second child is iframe where the content is displayed. the first child’s width is set to 100% and height set to 25px. Whereas the iframe’s height and width set to 100%. This works fine in ie.6.0, but fails in Firefox 1.0.7. iframe exceeds the div height for about 25px. Is any body can help me out for this problem. Thanks in advance

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@Mr_JOct 13.2005 — Firefox does not assume that your iframe height is to be 100% of the remaining height of the div after using 25px for the title whereas IE does
×

Success!

Help @sal_projects 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 4.30,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...