Why is my background being pushed down?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Steven Wright
    New Member
    • Mar 2011
    • 1

    Why is my background being pushed down?

    I had a functioning background, until I embedded an .swf file on the page. Now the flash is hanging out in the top left corner, and it pushed the background image down below it. Why is the .swf file above the background, and not on it?

    Here is my code:

    (HTML - .swf)
    <embed id="slideshow_0 1" width="550" height="400" allowscriptacce ss="always" allowfullscreen ="false" src="../Flash/Americulture_sl ideshow_01.swf" type="applicati on/x-shockwave-flash">

    (CSS - Background)
    body
    {
    background-image: url("../Images/Content/Americulture_wa llpaper05.jpg") ;
    background-repeat: repeat;
    background-attachment: fixed;
    }
  • JKing
    Recognized Expert Top Contributor
    • Jun 2007
    • 1206

    #2
    Do you have a link? If not please post the related html.

    Comment

    • Bharat383
      New Member
      • Aug 2011
      • 93

      #3
      try this......

      body
      {
      padding:0px;
      marging:0px;
      }

      Bharat Parmar(Bharat38 3)

      Comment

      Working...