- Joined
- Jul 25, 2007
- Messages
- 1
- Reaction score
- 0
I want to embed a .html file into my .aspx page. My asp.net page has a master page:
______________________________________________________________
<%@ Master Language="VB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<div style="text-align: left">
<table style="z-index: 113; left: 6px; width: 816px; position: absolute; top: 15px;
height: 583px">
<tr>
<td style="height: 38px" width="20%">
</td>
<td style="width: 66px; height: 38px">
<h1>
My Web Page</h1>
</td>
</tr>
<tr>
<td style="width: 2px">
<asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1" Style="z-index: 100;
left: 15px; position: absolute; top: 136px">
</asp:Menu>
<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />
</td>
<td width="80%" align=left valign=top>
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</td>
</tr>
</table>
</div>
</div>
</form>
</body>
</html>
______________________________________________________________
The page where I want to embed the html file has these codes:
______________________________________________________________
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" Title="My Web Page - Dreams" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="Section1">
This is where I will embed the html file into.
</div>
</asp:Content>
______________________________________________________________
what codes shd i use to embed in? Please advise! Thank you!
______________________________________________________________
<%@ Master Language="VB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<div style="text-align: left">
<table style="z-index: 113; left: 6px; width: 816px; position: absolute; top: 15px;
height: 583px">
<tr>
<td style="height: 38px" width="20%">
</td>
<td style="width: 66px; height: 38px">
<h1>
My Web Page</h1>
</td>
</tr>
<tr>
<td style="width: 2px">
<asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1" Style="z-index: 100;
left: 15px; position: absolute; top: 136px">
</asp:Menu>
<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />
</td>
<td width="80%" align=left valign=top>
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</td>
</tr>
</table>
</div>
</div>
</form>
</body>
</html>
______________________________________________________________
The page where I want to embed the html file has these codes:
______________________________________________________________
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" Title="My Web Page - Dreams" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="Section1">
This is where I will embed the html file into.
</div>
</asp:Content>
______________________________________________________________
what codes shd i use to embed in? Please advise! Thank you!
Last edited: