Forum Support

Shape 5
March 29, 2024, 08:19:52 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Flash intro banner -->problem with right border  (Read 544 times)
107727gb
Jr. Member
**
Offline Offline

Posts: 117



« on: 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   



Logged
107727gb
Jr. Member
**
Offline Offline

Posts: 117



« Reply #1 on: 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
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #2 on: 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,
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
107727gb
Jr. Member
**
Offline Offline

Posts: 117



« Reply #3 on: 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
 
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #4 on: 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,
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
107727gb
Jr. Member
**
Offline Offline

Posts: 117



« Reply #5 on: 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.
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #6 on: July 29, 2008, 09:03:18 PM »

Looks like its working now.
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.