anna_banana
05-24-2003, 04:30 PM
Erm.......I can't seem to get backgrounds into my I frame. All I can get is colors. Is there a special way to put the code in?
|
View Full Version : Iframe backgrounds anna_banana 05-24-2003, 04:30 PM Erm.......I can't seem to get backgrounds into my I frame. All I can get is colors. Is there a special way to put the code in? Dude128 05-24-2003, 05:25 PM are you putting your background code on the page with the iframe, or the page that gets displayed inside the iframe? it has to go on the page that's inside it. if that doesn't help, could you post a link to the page? anna_banana 05-24-2003, 05:29 PM Well.......I'm trying to put the background in the code that goes inside the iframe. Like..the background Inside the Iframe??? I'm just trying to figure it out because I'm doing Iframes on all of my pages now. Dude128 05-24-2003, 05:32 PM then could you post a link to the page and/or your code? anna_banana 05-24-2003, 05:34 PM Sure, here's the code: <style type="text/css"> BODY { background-image:starbackground.gif; } </style> That's the code I use for the backgrounds. When I put: background-color:#000000 The color works...but I can't seem to get the background to work. Dude128 05-24-2003, 05:37 PM it should be in the format background-image:url(starbackground.gif); you were just missing the url(...) :) anna_banana 05-24-2003, 05:38 PM OH! Okay! THANKIES! I'll try that. anna_banana 05-24-2003, 05:41 PM It's still not working! Dude128 05-24-2003, 05:45 PM hm, I should have asked this earlier- are you sure you uploaded the image? if that's not the problem, a link would be really helpful :) anna_banana 05-24-2003, 05:48 PM Yeah, it's uploaded alright. And I tried the link thing too. anna_banana 05-24-2003, 05:53 PM WAIT A MINUTE! IT'S WORKING! *jumps up and down* YAY! |