ragebox
05-25-2003, 07:45 AM
I have a question about the positioning of iframes that is really getting me puzzled. See, I used this code to fix my background in the center of my browser window (no matter what the size):
<style type="text/css">
<!--
body{background-image:url("background.jpg");
background-attachment:fixed;
background-repeat:no-repeat;
background-position:center;}
-->
</style>
But I've also got an iframe that sort of fits into the background and I want it to consistantly appear there no matter what the resolution or size of the window. Is there a way to position the iframe so that it will always appear in the correct spot in relation to the bg or is this not possible at all?
Thanks for any help or answers I may get, and I'm sorry if this question is a little confusing. Also, I appoligize if this is a repeat.
<style type="text/css">
<!--
body{background-image:url("background.jpg");
background-attachment:fixed;
background-repeat:no-repeat;
background-position:center;}
-->
</style>
But I've also got an iframe that sort of fits into the background and I want it to consistantly appear there no matter what the resolution or size of the window. Is there a way to position the iframe so that it will always appear in the correct spot in relation to the bg or is this not possible at all?
Thanks for any help or answers I may get, and I'm sorry if this question is a little confusing. Also, I appoligize if this is a repeat.