Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 07-16-2005, 04:26 PM   #1
Solid State Member
 
Join Date: Jul 2005
Posts: 8
Send a message via AIM to Wolf_22 Send a message via Yahoo to Wolf_22
Default Using IFrame and needing a non-src background...

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 is offline   Reply With Quote
Old 07-16-2005, 05:10 PM   #2
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: Using IFrame and needing a non-src background...

Quote:
Originally Posted by Wolf_22
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
__________________

__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Old 07-19-2005, 11:50 PM   #3
Solid State Member
 
Jbravo's Avatar
 
Join Date: Jul 2005
Posts: 17
Send a message via MSN to Jbravo
Default Re: Using IFrame and needing a non-src background...

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
Jbravo is offline   Reply With Quote
Old 07-20-2005, 12:27 AM   #4
Solid State Member
 
Join Date: Jul 2005
Posts: 8
Send a message via AIM to Wolf_22 Send a message via Yahoo to Wolf_22
Default Re: Using IFrame and needing a non-src background...

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.
Wolf_22 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 09:13 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0