Issue with positioning flash object in firefox

Discussion in 'CSS' started by cawlin, Jan 20, 2008.

  1. #1
    I am having issues with firefox (both mac and pc) bumping a flash object a considerable amount down my page for mysterious reasons.

    peep the website to see what I mean:
    http://www.chelseephoto.com/home.html

    and stylesheet:
    http://www.chelseephoto.com/stylesheet.css

    in safari all is well and I believe ie6 is fine too (maybe someone can confirm in ie7). I am not sure what is causing this strange spacing error. I have tried numerous things including restricting the height of the containng div.

    If anyone can help me out I would be very thanful.
     
    cawlin, Jan 20, 2008 IP
  2. babyboy808

    babyboy808 Well-Known Member

    Messages:
    491
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    125
    #2
    One thing you should have done is throw the 2 trees in the background of the content id, then wrap your flash in a div and position it that way... If you need help, just ask.

    Keith
     
    babyboy808, Jan 21, 2008 IP
  3. virtualworks

    virtualworks Peon

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi:
    I can suggest to combine the 2 tree images into one, and use the combined one into 1.

    #content {
    width: 985px;
    margin: 0px auto;
    padding: 0;
    background:url(images/tree-left.jpg) no-repeat; height:497px;
    }

    and then remove the following above and below to flash embed.
    <img src="images/tree-left.jpg" alt="a tree" title="a tree" />
    <img src="images/tree-right.jpg" alt="another tree" title="another tree"/>

    Hope this work!. Let me know if you need more help.
     
    virtualworks, Jan 21, 2008 IP
  4. cawlin

    cawlin Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks guys. I don't know why i didn't think of making the trees and background image.

    Cheers!
     
    cawlin, Jan 21, 2008 IP