I frame question

PhillipMarlow

Pheasant Heavy Breathing
Mar 14, 2008
1,762
34
0
So I'm trying to iframe the merchants lander and everything looks good until I click on a link. When it takes me to the buy now page, the scrollbar automatically goes to halfway down the page, way below the fold. Anyone know what's going on here?

HTML:
<html>
<head>
<title>Title</title>
</head>
<body>
<div align="center">
<iframe
src="http://www.myaffiliateurl.com"
marginheight="0" marginwidth="0" frameborder="0" height="4000"
scrolling="no" width="1500"></iframe></div>
</body>
</html>
 


Not sure. I created a test page with that code and while there is no actual page to show in the iframe, in firefox it brings me to the top left every time.
 
HTML:
<html>
<head>
<title></title>
<meta name="keywords" content=“">
</head>

<body style="margin: 0px; padding: 0px;" scroll="no">

<iframe src="" style="border: 0px; width: 100%; height: 100%;"></iframe>

</body>
</html>

try this
 
  • Like
Reactions: PhillipMarlow
HTML:
<html>
<head>
<title></title>
<meta name="keywords" content=“">
</head>

<body style="margin: 0px; padding: 0px;" scroll="no">

<iframe src="" style="border: 0px; width: 100%; height: 100%;"></iframe>

</body>
</html>

try this

Perfect! Thanks : )