I want to include a page at the top of my page.
But when I do it. my header Is replaced with The page header.
For example, my Title Is replaced with The page Title.
How do I fix it ?
the included page header :
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Retrieving video details</title>
<style>
img {
padding: 2px;
margin-bottom: 15px;
border: solid 1px silver;
}
td {
vertical-align: top;
}
</style>
</head>
Your best bet would be to remove that page's header so that it doesn't override yours OR set your header after you load in the included file to make yours overwrite the included page's header. If you get it externally from another domain I'm afraid you're stuck.
Edit: remove the <title>
tags from the included page's source code if you can. Otherwise, include the file and set <title>Your Title</title>
after it.