I want to add a background pattern to the
Add it to the body of the document in the iframe or make the iframe transparent,
See the floor The seniors on the Internet said that it is okay to add a background to the body of the source page. This is unquestionable
But after thinking about it, this does not mean adding a background to the iframe. The main effect of the original poster may be
All pages displayed in this iframe share this background.
After that, I naturally thought of adding background:url("background image path") to the iframe's style attribute,
but it turned out not to be possible!
I hope there is a better way
Same as above, please help me come up with a solution. I thank you in advance
Looking forward to it. . . .
Uh-huh! ~No one cares about me anymore! ~
I don’t know, I’m learning!
Beauty,
Try it
You are in
Then you write this in the page in img.php <html><head><title>内嵌</title></head><body style="background-image:url(../try/banner.jpg)"></body></html>
It should be OK
You can only write
in the body of the page connected to the iframeI also want to know the answer. I made this and it shows white! !