I am using Wordpress and am trying to embed a webpage into a webpage but remove some of the top margin so that it does not show the entire webpage of the page I'm linking from but a protion of it. I am able to do it on my office365 site but can not get it to work in Wordpress. Any help would greatly be appreciated.
2 Replies - 499 Views - Last Post: 21 January 2012 - 11:29 AM
Topic Sponsor:
#1
Embeding webpage into another and changing top margin
Posted 20 January 2012 - 05:45 PM
Replies To: Embeding webpage into another and changing top margin
#2
Re: Embeding webpage into another and changing top margin
Posted 21 January 2012 - 11:25 AM
Why do you want this?
The way you say that it sounds like you are trying to show content from another website, but hide the header so it looks like it's actually your content.
In any case, you can show another website inside your own using an iframe -- unless that website sets certain headers to prevent it -- but there are restrictions. This includes that you can not access the DOM of that page, so that you can not read or alter the page with Javascript. Meaning you couldn't hide it from view. - The best you could ever hope to do is move the iframe out of view, or place another element on top of it to "hide" the top of the frame.
The way you say that it sounds like you are trying to show content from another website, but hide the header so it looks like it's actually your content.
In any case, you can show another website inside your own using an iframe -- unless that website sets certain headers to prevent it -- but there are restrictions. This includes that you can not access the DOM of that page, so that you can not read or alter the page with Javascript. Meaning you couldn't hide it from view. - The best you could ever hope to do is move the iframe out of view, or place another element on top of it to "hide" the top of the frame.
#3
Re: Embeding webpage into another and changing top margin
Posted 21 January 2012 - 11:29 AM
My reaseon for wanting it done is because I am a real estate agent and am wanting to link my idx to multiple domains. With me having different domain names, I dont need the header to show so I'm trying to change the top margin so that it does not show my info. I am able to do it with my officelive/365 websited but not with WP
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote




|