| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Account Closed Join Date: Nov 2007
Posts: 4
![]() | Background to a web page Is there any way to use a web page as a background to another web page? Thanks in advance. _________________ mobility scooter Active Adult Community |
| |
| | #2 (permalink) |
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,069
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Not as far as I am aware but in all honesty why would you want too?
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft |
| |
| | #3 (permalink) | ||||
| NamePros Regular Join Date: Nov 2007
Posts: 305
![]() ![]() ![]() ![]() |
do you want to include another web page in your own site ? if so the <iframe> tag is your solution <iframe src="site.htm" width="xxx" height="xxx" frameborder="1" scrolling="yes"> </iframe> well i've used it that way a lot of times, if you just want to use it as a background you would have to change scrolling to no and then change the z-index .. then move another layer above the site so that only a little bit is left .. that way you could maybe achieve what you want it wont be a real background thou, it will simply be a fixed element in your site background | ||||
| |
| | #4 (permalink) |
| Senior Member Join Date: Oct 2005 Location: Kent ~ U.K.
Posts: 3,209
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | What sOliver said is an interesting way to do it. Personally, I do not know of any way to do what you ask, but you could take a screenshot of the site and use this code in the <head></head> tags of your page: HTML Code: <style> body { background-image: url(website.png); } </style>
__________________ Myself and "JackHeskett" are no longer associated with FusedHosting.net. Please pipe all PMs to admin [at] fusedhosting.net. |
| |
| | #5 (permalink) |
| i love automation Join Date: Nov 2007 Location: xrvel.com
Posts: 1,620
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | i have not tried this before, lets dream the html contents a big full screen frame which targets to (e.g.) www.abc.com. After the </iframe> code of abc.com frame, we put new <iframe> with 70% width (less than 100%) which targets to (e.g.) www.def.com, we put some style to def.com iframe, position:absolute, top:0, and align it so it is positioned in the center of the screen. So that the def.com frame, is floating in front of abc.com frame. |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |