• Hi

    I have added a Flash movie banner using Kimili Flash Plugin on header.php, but there is a gap, above it and below the nav bar. I did add the code to page.php but it screwed up the sidebar.

    Could someone please take a look at

    https://www.acknowledgedwebtest.info/selina

    I can’t see whats creating this ?

    If this is a stupid question please let me know, as I am fairly new to WP and this is the first time I have used both Flash and this particular plugin.

    Any help would be very much appreciated.

    Regards

    Ashley

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter acknowledged74

    (@acknowledged74)

    Do people just not know or it this a really silly question and I am missing something very obvious ?

    I don’t mind being told I’ve been a numb nut, I just need to know the answer if anyone could take the time to help.

    Thanks

    Ashley

    Put the flash inside a div tag so you can then add css to move the div.

    Example:

    <div style=”margin: -10px 0 -20px 0;”> The flash code </div> The order of the css is top, right, bottom and then left.

    Remember that FF and IE sometimes render pixel counts (spacing) differently. If this happens try adding “display:block” to the code. If everything formats correctly then don’t! (smile)

    Jonji

    Thread Starter acknowledged74

    (@acknowledged74)

    I tried something similar it just completely messed up the page, i.e. the flash movie was put on top of everything at the very top of the page. I pressum it therefore took it out of the <div id=”navigation”> tag for some reason.

    Thanks for the try. Any other ideas ?

    Any other ideas ?

    Why are you using a plugin for flash in a theme file? If you embed the code directly, you have more control over its display.

    Thread Starter acknowledged74

    (@acknowledged74)

    I tried it the same as I would in a html page but it doesn’t seem to work ?

    something along the lines of:

    <object classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ codebase=”https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0&#8243; width=”768″ height=”200″ id=”flashbanner” align=”middle”>
    <param name=”allowScriptAccess” value=”sameDomain” />
    <param name=”movie” value=”flashbanner.swf” /><param name=”quality” value=”high” /><param name=”bgcolor” value=”#ffffff” /><embed src=”flashbanner.swf” quality=”high” bgcolor=”#ffffff” width=”768″ height=”200″ name=”flashbanner” align=”middle” allowScriptAccess=”sameDomain” type=”application/x-shockwave-flash” pluginspage=”https://www.macromedia.com/go/getflashplayer&#8221; />
    </object>

    ?

    Thread Starter acknowledged74

    (@acknowledged74)

    Ok done it but still have the Gap ?

    Must be in the sizing of the css, but I just can’t see it !

    Set the flash to opaque not transparent, then if the flash is in a div give it an id=”flash”. Then in css go #flash(display:block;margin:0px;} and adjust the margins as needed… works on my sites with flash.

    Jonji

    please.

    get firefox.
    get the web developer extension.
    edit your CSS on the fly

    I CAN fix this by editing your stylesheet.

    #navigation li a:hover,
    #navigation li a:active
    {
    	color: #FFFFFF;
    	background-repeat: repeat-x;
    	margin-top: 0px;
    	border: 1px solid ccc;
    	background-image: url(images/nav-buttonbg.gif);
    }

    thats edited..and prolly not optimal. Its there to illustrate MY point. If you are a web develoiper, then you need to start looking at your CSS.

    and honestly, this is only a silly question because its been asked and reasked by you 4 times now.

    Thread Starter acknowledged74

    (@acknowledged74)

    Only asked again because no one was bothering to help. So apparently you need to keep asking to get peoples attention.

    I code in CSS all the time, its just I structure slightly differently to WP and anyway it all differs from theme to theme. The site is kind of a mixture of a couple of other themes and my own twist, this maybe where the issue lies ?

    I am a web designer, and I have been looking at ‘my css’ for most of the day, believe me its not that obvious:

    #navigation li a:hover,
    #navigation li a:active
    {
    color: #FFFFFF;
    background-repeat: repeat-x;
    margin-top: 0px;
    border: 1px solid ccc;
    background-image: url(images/nav-buttonbg.gif);
    }

    That exactly what it is already, what are you on about ?

    Thanks anyway for both your advice, neith sorted out the problem I’m afraid.

    Ashley

    https://www.village-idiot.org/broke/webdev/acknowledgedwebtest/selina/index2.html

    sheesh.

    youre rewriting code, and while i typo’d the wrong bit out of the stylesheet.. it was the one right above it.

    Simple as can be for someone that understands CSS.

    ive been messing with this some more, so that link is broke (gap is there again)

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Can’t get rid of the space below the nav bar ?’ is closed to new replies.