iframing in multiple browsers

crissy00

Newbie
Joined
Jan 18, 2012
Messages
22
Reaction score
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?
 
put it inside a div and then give it an id, then move it with css until it looks good in all browsers.
 
put it inside a div and then give it an id, then move it with css until it looks good in all browsers.

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?
 
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?
 
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.
 
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.

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
 
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
 
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 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
 
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 :)
 
Back
Top