/    Sign up×
Community /Pin to ProfileBookmark

Having a bad spacing issue

I’m trying to enclose an html site with a flash header and footer, the only way I know to do this is with an iframe. The issue I’m experiencing is a MASSIVE amount of excess space. Can you please look at [url]www.swdirect.com/flash2.html[/url] to see what I’m talking about?

This mega space was there before I put the iframe in however….how do I get that bottom menu to appear without having to scroll down to see it, whether there’s an iframe there or not? Meaning, MUCH closer to the top of the screen… Help!

Here’s my code so far:


—————————————————————————–

<html>
<head>
<title>SouthWest Direct</title>
<style type=”text/css”>
<!–
body { margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:
0px; padding:0px; }
–>
</style>
</head
<body>

<object classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0” width=”100%” height=”100%” id=”topbanner” align=”middle”>
<param name=”allowScriptAccess” value=”sameDomain” />
<param name=”allowFullScreen” value=”false” />
<param name=”movie” value=”topbanner.swf” /><param name=”quality” value=”high” /><param name=”salign” value=”t” /><param name=”scale” value=”noscale” /><param name=”bgcolor” value=”#000000″ /> <embed src=”topbanner.swf” quality=”high” salign=”t” bgcolor=”#000000″ width=”100%” height=”100%” name=”topbanner” align=”middle” allowScriptAccess=”sameDomain” allowFullScreen=”false” type=”application/x-shockwave-flash” pluginspage=”http://www.adobe.com/go/getflashplayer” />
</object>

<iframe src =”mainpage.html” width=”100%” height=”400″ marginheight=”0″>
<p>Your browser does not support iframes.</p>
</iframe>

<object classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0” width=”100%” height=”100%” id=”bottbanner” align=”middle”>
<param name=”allowScriptAccess” value=”sameDomain” />
<param name=”allowFullScreen” value=”false” />
<param name=”movie” value=”bottbanner.swf” /><param name=”loop” value=”false” /><param name=”quality” value=”high” /><param name=”scale” value=”noscale” /><param name=”salign” value=”b” /><param name=”bgcolor” value=”#000000″ /> <embed src=”bottbanner.swf” loop=”false” quality=”high” scale=”noscale” salign=”b” bgcolor=”#000000″ width=”100%” height=”100%” name=”bottbanner” align=”middle” allowScriptAccess=”sameDomain” allowFullScreen=”false” type=”application/x-shockwave-flash” pluginspage=”http://www.adobe.com/go/getflashplayer” />
</object>

</body>
</html>

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@ladyorelindeauthorMar 26.2009 — Nevermind, I figured it out....I just needed to change my heights to pixels rather than percentage and it's working just fine. Thanks.
×

Success!

Help @ladyorelinde 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.4,
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,
)...