LostHorizon
Member
- Messages
- 43
- Reaction score
- 2
- Points
- 8
Removing frame border when using HTML <OBJECT> tag to embed a child HTML document into an HTML document in Internet Explorer.
---
Hi,
Does anybody here know how to remove the frame border when using HTML <OBJECT> tag to embed a child HTML document into an HTML document in Internet Explorer so that the 2 pages would be rendered altogether SEAMLESSLY?
Thanks a lot.
Problem description:
When using HTML <OBJECT> tag to embed a child HTML document into an HTML document (instead of using <IFRAME>), Internet Explorer (up to version 8 - don't know about the new version 9) renders the pages with a 3D inset border around the embedded page.
NOTE: This doesn't happen when using Mozilla Firefox (don't know about Google Chrome though - one of these days, I'm going to install Chrome on my computer and start testing my pages on it too). Personally, I think that this has something to do with the browser's Look and Feel (has anybody ever noticed that there is a 3D inset border around the page in Internet Explorer?).
---
P.S.: Below are the code snippets for the parent and child HTML pages:
Parent.html:
Child.html:
---
Hi,
Does anybody here know how to remove the frame border when using HTML <OBJECT> tag to embed a child HTML document into an HTML document in Internet Explorer so that the 2 pages would be rendered altogether SEAMLESSLY?
Thanks a lot.
Problem description:
When using HTML <OBJECT> tag to embed a child HTML document into an HTML document (instead of using <IFRAME>), Internet Explorer (up to version 8 - don't know about the new version 9) renders the pages with a 3D inset border around the embedded page.
NOTE: This doesn't happen when using Mozilla Firefox (don't know about Google Chrome though - one of these days, I'm going to install Chrome on my computer and start testing my pages on it too). Personally, I think that this has something to do with the browser's Look and Feel (has anybody ever noticed that there is a 3D inset border around the page in Internet Explorer?).
---
P.S.: Below are the code snippets for the parent and child HTML pages:
Parent.html:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "[URL]http://www.w3.org/TR/html4/strict.dtd[/URL]">
<HTML>
<BODY style = "background-color: #D3D3D3;">
<OBJECT style = "width: 500px; height: 300px;"
type = "text/HTML" [COLOR=red]data = "Child.html"[/COLOR]>
</OBJECT>
</BODY>
</HTML>
Child.html:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "[URL]http://www.w3.org/TR/html4/strict.dtd[/URL]">
<HTML>
<BODY>
<P>(Child HTML document) --> Testing ...</P>
</BODY>
</HTML>