ShakespeareLady
04-18-2004, 08:47 PM
Ummm... I don't know if this is the right forum but okay... I've done some simple html but this is new to me.... I would like to know how to have a fixed background image and then an i-frame (i think) on the leftside that can have text in it. i've tried all sorts of things but none of them have worked... i'm SO confused, help me please!
CevilgeniuS
04-18-2004, 11:58 PM
Hmm, I think I know what you mean, but can you elaborate?
I think I think you're talking about is to have a regular background image with no-repeat. Then you algin the iFrame to where you want it.
-Norm
salomeyasobko
04-19-2004, 12:47 AM
you can fix the background to make sure it doesn't scroll using css:
<style type="text/css">
body {background-image: url(image.gif); background-attachment: fixed; background-repeat: no-repeat; background-position: ##pixels from the top ##pixels from the left;}></style>
and then for the iframe:
<iframe src="URL OF THE IFRAME" style="position: absolute; top: 0px; left: 0px; height: ##px; width: ##px;"></iframe>
edit the bold [and colored] parts. for the iframe, i put the top and left pixel numbers as zero because i didn't know how far from the top and left you wanted the iframe to be. mess around with those numbers until you get it to where you want it.
for the iframe, the bold part that says "URL OF THE IFRAME" is where you put the URL for the page you want to show up in the iframe. you'll have to make a page, lets call it iframe.html, and then you'll have to put the text you want to show up in that iframe.html page. make sure you include all of the font and background color properties in that page, because that's the only way they'll show up in the iframe.
hope that works! :)
ShakespeareLady
04-21-2004, 10:27 PM
ok, it worked, sort of.... i'm totally clueless mind you... so where do i put this code, and why won't my text show up in the i-frame? thank you for what you gave me though!!