Shape 5

Joomla Templates => eMercantilism - January 08 - Club => : 107727gb July 24, 2008, 09:21:22 AM



: Flash intro banner -->problem with right border
: 107727gb July 24, 2008, 09:21:22 AM
hi there,

I have put a html code for a flash intro banner (no module, just code) in the mainbackmiddle. It works, but the left border stays in place and the right border moves down. How can I solve this problem. Here is the html code and two screenshots (attachement):

<div id="s5_mainbackmiddle">
<object classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000
codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,2,0
style="float: right;"
width=500
height=40>
<param name=movie value=cybersnow.swf>
<param name=quality value=high>
<param name=BGCOLOR value=#FFFFFF>
<param name=SCALE value=noborder>
<embed src=cybersnow.swf
quality=high
pluginspage=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash type=application/x-shockwave-flash
width=500
height=40
bgcolor=#FFFFFF
scale= noborder>
</embed>
</object>

Regards,
Gabri?l Rotterdam Netherlands   





: Re: Flash intro banner -->problem with right border
: 107727gb July 25, 2008, 02:03:07 AM
Sorry I'm wrong. The flash HTML code overlaps the right border with I think maximum 25px. So, I just need a tiny piece of code to move fthe lash block to the left. Padding-left did not work, but maybe I have put it in the wrong place.

So, how can I do this?

Gabriel


: Re: Flash intro banner -->problem with right border
: jonahh July 28, 2008, 09:36:54 AM
Hello,

Did you try using margin-right ?  Could you post a URL, I could then take a look and give you some CSS to fix it with.

Regards,


: Re: Flash intro banner -->problem with right border
: 107727gb July 28, 2008, 11:26:05 AM
Hi Jonah,

no I didn't try margin-right. I'll have a look at my css, but maybe you are a lot faster than me, so here's the URL

www.sjaaltjes.com  (going live in september - I hope :-))

Regards,
Gabriel
 


: Re: Flash intro banner -->problem with right border
: jonahh July 28, 2008, 01:22:03 PM
Hello,

It looks like you just put the Flash code in too early in the code.  Place it after the "s5_maininner" DIV and it should display correctly after this.

Regards,


: Re: Flash intro banner -->problem with right border
: 107727gb July 29, 2008, 01:07:22 AM
Hi Jonah,

At first it didn't work, because the whole right column jumped to the left and the maincolumn jumped down. I deleted the float: right; code and replaced it with style="margin-left:400px;"  --> www.sjaaltjes.com

it's working in IE7 and FF3.0.1, so I'm happy. If this piece off code is a problem, let me know!!!

Thanx for the lesson, now I understand the working off <DIV> code better!

Gabriel.


: Re: Flash intro banner -->problem with right border
: jonahh July 29, 2008, 09:03:18 PM
Looks like its working now.