WordPress.org

Forums

SWF banner white line issue (3 posts)

  1. lmitchell
    Member
    Posted 1 year ago #

    Hello,

    I have inserted a flash swf banner on my WordPress site (successfully) using the WP-SWFObject plugin. However, now there is an annoying white line right above my banner which does not seem to be caused by any margin or padding issues within the page. As far as I can tell, it's not the swf file that is the problem.

    The code where my banner is inserted (within index.php):

    <div id="flash" width="950" height="223" style="overflow:hidden;margin-top:0;padding-top:0;width:100%; height:100%;">
    	  <?php wp_swfobject_echo("http://mysitehere.com/slider.swf", "950", "225"); ?></div>

    Above that in the code there is:

    <?php global $theme; get_header(); ?><div id="main"><?php $theme->hook('main_before'); ?>

    the css style properties of main and header are:

    #main {
    	padding-left: 0px;
    	padding-right:0px;
    	margin:0 auto;
    	padding-top:0px;
    	padding-bottom:0px;
    
    }
    
    #header {
    height: 126px;
       padding-top:1px;
       padding-bottom:0px;
      position: relative;
      width:100%;
      margin-top:;
      margin-bottom: 0;
      margin-top:0px;
      margin-bottom: 0;
      background-color:#442b17;
      background-image: url(19.png);
      background-repeat:no-repeat;
      background-position:center center;
    }

    any thoughts?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    I'm sorry but it is beyond the scope of these forums to deal with basic CSS issues. Try a dedicated CSS resource such as http://www.css-discuss.org/ instead. I'd also recommend using Firefox with the Firebug add-on for this kind of CSS work.
    http://getfirebug.com/

  3. lmitchell
    Member
    Posted 1 year ago #

    Ok, sorry... I have actually solved the problem on my own yesterday. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic