/    Sign up×
Community /Pin to ProfileBookmark

help with a gap in an iframe

i have a table inside an iframe
that only when i scroll down th table align’s to the top ?
what do i need to fix so when the page is loaded the table will start from the top of the page
and i will scroll down and see only the table and not a whith blank part?
i have attached the file
thnaks in advance
peleg

[upl-file uuid=e6e3c530-ff8d-460c-aa40-73b543800c65 size=14kB]orders.zip[/upl-file]

to post a comment
HTML

5 Comments(s)

Copy linkTweet thisAlerts:
@phpnoviceJan 17.2005 — I didn't check out what you posted but, generally the CSS [B]margin:0px;[/B] setting is sufficient to eliminate such default top and left margins. You probably have to specify this at the document level of what you are loading into the IFRAME, though.
Copy linkTweet thisAlerts:
@pelegk1authorJan 18.2005 — [code=php]<iframe margin='0px'[/code]

but not working any more idea?
Copy linkTweet thisAlerts:
@phpnoviceJan 18.2005 — You did not do what I told you. What you attempted to use was not only an HTML attribute (not CSS), but it was also not done at the document level. The suggestion I gave you requires the use of either the STYLE attribute or the STYLE tag.
Copy linkTweet thisAlerts:
@pelegk1authorJan 20.2005 — [code=php]
<style>
body, table{
padding:0;
margin:0px;
}
[/code]

no good ?
Copy linkTweet thisAlerts:
@phpnoviceJan 20.2005 — Did you specify that for the document that [u]contains[/u] the IFRAME? ...or,

did you specify that for the document that gets loaded [u]into[/u] the IFRAME?

The IFRAME itself may need padding removed from it, too.
×

Success!

Help @pelegk1 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.27,
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,
)...