1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

iframing in multiple browsers

Discussion in 'CPA' started by crissy00, Jan 18, 2012.

  1. crissy00

    crissy00 Newbie

    Joined:
    Jan 18, 2012
    Messages:
    22
    Likes Received:
    0
    Hi, im currently using ghostcpa to iframe email submits, but my problem is, it works in IE8 and FF, but when i test with google chrome the iframe moves down about 100 pixels.

    is there a way to fix this to work in chrome aswell?
     
  2. ThePhrofit

    ThePhrofit Newbie

    Joined:
    Jul 28, 2011
    Messages:
    18
    Likes Received:
    1
    put it inside a div and then give it an id, then move it with css until it looks good in all browsers.
     
  3. crissy00

    crissy00 Newbie

    Joined:
    Jan 18, 2012
    Messages:
    22
    Likes Received:
    0
    i dont get what u mean, i can move it so it looks good in chrome but then its in the wrong place in IE,

    what will css do? will it detect the browser and diplay appropriatly to that particular browser?
     
  4. crissy00

    crissy00 Newbie

    Joined:
    Jan 18, 2012
    Messages:
    22
    Likes Received:
    0
    no matter what i google i just cant find a relevent article explaining how to fix this, can anyone point me in the right direction?
     
  5. rowebil

    rowebil Regular Member

    Joined:
    Sep 20, 2010
    Messages:
    390
    Likes Received:
    51
    Location:
    Pennsylvania
    Couldn't find anything either.

    Mine moves down but you can barely see it moved down since it's a white area around the email submit.
     
  6. crissy00

    crissy00 Newbie

    Joined:
    Jan 18, 2012
    Messages:
    22
    Likes Received:
    0
    yeh unfortunatly my network only has 1 sutible offer, and theres not enough white space around the submit so if i make the iframe bigger it gets a load of junk in there
     
  7. ThePhrofit

    ThePhrofit Newbie

    Joined:
    Jul 28, 2011
    Messages:
    18
    Likes Received:
    1
    Sorry but I couldn't reply via PM as I don't have enough posts.

    put the thing you want to move between

    Code:
    
    <div id="move">
    
    YOUR CODE YOU WANT TO MOVE
    
    </div>
    
    
    
    put this below the head tag

    Code:
    
    
    <style type="text/css">
    
    #move {
    
    margin-left: 50px;
    
    }
    
    </style>
    
    
    change the number until its where you want it in all browsers, if margin-left doesn't move it try margin-right
     
    • Thanks Thanks x 1
  8. crissy00

    crissy00 Newbie

    Joined:
    Jan 18, 2012
    Messages:
    22
    Likes Received:
    0
    thanks for the reply, but it is already aligned left and right,

    it moves up and down can i make margin top or bottom?

    thanks ill look into this
     
  9. crissy00

    crissy00 Newbie

    Joined:
    Jan 18, 2012
    Messages:
    22
    Likes Received:
    0
    i used the code and it moves the iframe about great, but i think i didnt explain very well.

    the position of the frame is fine.
    its the content displayed inside the iframe that moves around depending on the browser.

    hope theres a cure for this :)