Using IFrame and needing a non-src background...

Wolf_22

Solid State Member
Messages
8
I'm using the <iframe> tag in my site, and I would love to be able to have a background to it, but I don't want to have to use the src attribute...

Do any of you know of any ways to do what I'm asking? Like, maybe theres a way to utilize an <img> tag inside the <iframe> brackets?

Any help is thankful.
 
Wolf_22 said:
I'm using the <iframe> tag in my site, and I would love to be able to have a background to it, but I don't want to have to use the src attribute...

Do any of you know of any ways to do what I'm asking? Like, maybe theres a way to utilize an <img> tag inside the <iframe> brackets?

Any help is thankful.
You could do it with css in the iframe page
 
an <iframe> load a second page into a frame. so included the backgound attribute in the body tag.

that should work if I understand you correctly
 
Yeah, you did. I got it to work by making a second .html page and making the background attribute of the <body> tag equal my picture... And it worked perfectly! Thanks guys.
 
Back
Top Bottom