Reply
Combining ASP with HTML, help please...
Old 12-17-2007, 03:25 PM Combining ASP with HTML, help please...
Super Talker

Posts: 116
I'm using an asp script called MMS that has a header file and a footer file for the main index page. I want to incorporate an html file i have because i like the look of it for my forthcoming web site, and combine it with the functionality of the asp files.

The install guide states:
"How does it work? Well, if you take your entire design and leave some space for where MMS should be, the upper (and left?) portion goes to the header and the (right? and) bottom goes to the footer file. Here is an example, the bold portion is for header and the other is for the footer:
<html><head>
<title>Untitled</title>
</head>
<body>
<table width="100%"><tr>
<td colspan="2">(Insert your Top Menu code here)</td>
</tr><tr>
<td width="25%">(Insert your Left Menu code here)</td>
<td width="75%">MMS (Nothing needs inserting here.)
</td>*
</tr>
<tr><td>(Insert your Footer code here.)</td></tr>
</table>
</body></html>

In this example, you could paste the bold portion into the mms-root-folder/inc_header.asp file, and the other portion into the mms-root-folder/inc_footer.asp file.
The result would be your site layout wrapped around the MMS."

I just don't know which part goes where. I don't know what to leave in and what to leave out when I combine them. Help please.
Thanks

Header File:
Code:
<% Response.Buffer = True %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0.11 Transitional//EN">
<html><head>
	<title>TEST</title>
    <script src="java.js" type="text/javascript"></script>
    <link rel="STYLESHEET" type="text/css" href="styles.css">
</head>
<body bgcolor="#ffffff">
<br />
<body>

<table width="75%" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000" style="border: solid 1px;">

<tr>
	<td style="padding: 10px;">

		<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
			<td><img src="images/img11.jpg" height="134" width="461">
			<img src="images/topimg2.jpg" height="160" width="309"></td>
			<td align="center">&nbsp;</td>
		</tr> </table>

	</td>
</tr></table>

<table width="75%" align="center" cellpadding="0"  cellspacing="0" bordercolor="#800000" style="border: solid 1px;">
<tr bgcolor="White">
	<td>
	    <table height="26" cellpadding="0" cellspacing="0" border="0" width="100%" bordercolor="#800000" background="img/_example/bg_tb1_.gif" width="100%"><tr>
	    	<td width="200"><img src="img/_example/pixel.gif" width="200" height="1" alt="" border="0" /></td>
	    	<td width="100%">
	            <table border="0" width="100%" align="right" cellpadding="2" cellspacing="0"><tr>

	            </tr></table>

	        </td>
	    </tr></table>
	</td>
</tr>
<tr><td height="1" bgcolor="#d4d4d4"><img src="img/pixel.gif" width="1" height="1" alt="" border="0"></td></tr>
<tr>
    <td>
        <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0"><tr>
        	<td width="200" bgcolor="White" valign="top">
				<img src="img/_example/pixel.gif" width="200" height="1" alt="" border="0" />
                <table width="95%" height="98%" align="center" cellpadding="2" cellspacing="0" border="0"><tr>
                	<td valign="top">
                    <br /><br />
                    <!-- SIDE MENU -->

                    <% If Session("PMMS_IN") = "True" Then '// CHECK IF MEMBER IS LOGGED IN ALREADY %>

                            <!-- MENU FOR LOGGED MEMBER ONLY -->
                                <br />
                                <table width="80%" align="center" cellpadding="2" cellspacing="0" border="0"><tr>
                                    <td colspan="2">Welcome  <i><%=Session("PMMS_NAME")%></i><br /><br /></td>
                                </tr><tr>
                                	<td width="15">&ordm;</td>
                                	<td><a class="lnk" href="profile.asp">My Profile</a></td>
                                </tr><tr>
                                	<td width="15">&ordm;</td>
                                	<td><a class="lnk" href="_purchase.asp">Purchase</a></td>
                                </tr><tr>
                                	<td width="15">&ordm;</td>
                                	<td><a class="lnk" href="newsletter.asp">Newsletters</a></td>
                                </tr><tr>
                                	<td width="15">&ordm;</td>
                                	<td><a class="lnk" href="members.asp">Member List</a></td>
                                </tr><tr>
                                	<td width="15">&ordm;</td>
                                	<td><a class="lnk" href="members_by_group.asp">Group Member List</a></td>
                                </tr><tr>
                                	<td width="15">&ordm;</td>
                                	<td><a class="lnk" href="file_cate.asp">File Repository</a></td>
                                </tr><tr>
                                	<td width="15">&ordm;</td>
                                	<td><a href="login.asp?logout=True">Log Out</a></td>
                                </tr></table>
                                <br />
                            <!-- [ MENU FOR LOGGED MEMBER ONLY ] -->


                        <% Else  ' IF NOT LOGGED IN THEN SHOW THE LOGIN FORM%>
                            <!-- INCLUDE LOGIN FORM -->
                                <form action="login.asp" method="post">
                                    <br />
                                    <table align="center" cellpadding="2" cellspacing="0" border="0"><tr>
                                    	<td>Username:<br /><input class="textbox" type="Text" name="username" value="<%=Trim(Request.Cookies("USERNAME"))%>" maxlength="25" size="20" /></td>
                                    </tr><tr>
                                    	<td>Password:<br /><input class="textbox" type="Password" name="password" value="" maxlength="25" size="20" /></td>
                                    </tr><tr>
                                    	<td>
                                            <input type="Checkbox" name="rem" value="1"<%If NOT Trim(Request.Cookies("USERNAME")) = "" Then%> checked<%End If%> />Save Username<br />
                                            <input style="width: 100%;" type="Submit" value="Login Now" /><br /><br /><a href="reminder.asp">Password Reminder</a>
                                        </td>
                                    </tr></table><br />
                                    <input type="Hidden" name="mode" value="login" /><input type="Hidden" name="ref_page" value="<% If Len(Trim(Request.QueryString("ref_page"))) = 0 Then%><%=Request.ServerVariables("URL") & "?" & Request.QueryString%><%Else%><%=Request.QueryString("ref_page")%><%End If%>" />
                                </form>
                            <!-- [ INCLUDE LOGIN FORM ] -->

                        <% End If %>

                        <br /><br />

<img src="img/_example/linkimg1.gif" width="25" height="24" alt="" border="0" /><a class="MainMenuLNKExample" href="index.asp"> HOME</a><br />
<img src="img/_example/linkimg3.gif" width="25" height="24" alt="" border="0" /><a class="MainMenuLNKExample" href="register.asp"> FAQ</a><br />

<% If Session("PMMS_IN") = "True" Then '// CHECK IF MEMBER IS LOGGED IN ALREADY %>
	                    <img src="img/_example/arrow_gray_top_inverse_b.gif" width="15" height="14" alt="" border="0" /><a class="MainMenuLNKExample" href="login.asp?logout=True">LOG OUT</a>
	                <% Else %>
	                    <img src="img/_example/linkimg2.gif" width="25" height="24" alt="" border="0" /><a class="MainMenuLNKExample" href="register.asp"> REGISTER</a><br />
	                <% End If %>
<img src="img/_example/linkimg4.gif" width="25" height="24" alt="" border="0" /><a class="MainMenuLNKExample" href="register.asp"> TERMS OF USE</a><br />
<img src="img/_example/linkimg5.gif" width="25" height="24" alt="" border="0" /><a class="MainMenuLNKExample" href="register.asp"> CONTACT US</a><br /><br />
<img src="img/_example/arrow_gray_top_inverse_b.gif" width="9" height="8" alt="" border="0" /><a class="MainMenuLNKExample" href="anymember.asp">ALL MEMBERS</a><br />
<img src="img/_example/arrow_gray_top_inverse_b.gif" width="9" height="8" alt="" border="0" /><a class="MainMenuLNKExample" href="groupmembers.asp">GROUP 2 or 5</a><br />
<img src="img/_example/arrow_gray_top_inverse_b.gif" width="9" height="8" alt="" border="0" /><a class="MainMenuLNKExample" href="help.asp">HELP ME</a>

                    <!-- [ SIDE MENU ] -->
                    <br /><br />
                    </td>
                </tr></table>
            </td>
        	<td width="7" valign="top" height="100%">
                <table height="100%" width="7" cellpadding="0" cellspacing="0" border="0"><tr>
                	<td><img border="0" src="img/side_1.gif" width="7" height="28"/></td>
                </tr><tr>
                	<td height="100%" background="img/side_2.gif"><img src="img/pixel.gif" width="7" height="1" alt="" border="0"></td>
                </tr></table>
            </td>
        	<td valign="top">
                <table width="95%" align="center" cellpadding="2" cellspacing="0" border="0"><tr>
                	<td><br /><br />
                    <!-- MAIN PAGE CONTENT -->


Footer File:
Code:
<!-- [ MAIN PAGE CONTENT ]-->    
                    <br /><br /></td>
                </tr></table>    
            </td>
        </tr></table>    
    </td>
</tr>
<tr><td height="1" bgcolor="#000000"><img src="img/pixel.gif" width="1" height="1" alt="" border="0"></td></tr>
<tr bgcolor="#C8CEE6">
	<td height="26"><img src="img/pixel.gif" width="1" height="1" alt="" border="0"></td>
</tr></table>
    
</body></html>
<% Response.Flush %>


HTML File
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>TEST</title>
<style type="text/css">

body {background-color: #ebebeb;}
#container {
	width: 830px;
	margin-left: auto;
	margin-right: auto;
        background-color: #FFFFFF;
}
#left_column {
	border: 1px solid #999999;
	float: left;
	width: 230px;
	margin-top: 5px;
	margin-right: 10px;
	margin-left: 20px;
	margin-bottom: 40px;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
}
#header_table {
	width: 100%;
	border-collapse: collapse;
}
.header_top_tdl {
	padding: 0px;
	margin: 0px;
	border-bottom-style: solid;
	border-bottom-width: 10px;
	border-bottom-color: #b7b7b7;
	background-color: #800000;
	width: 150px;
	border-collapse: collapse;
	border-right-width: 0px;
	border-left-width: 0px;
}
.header_top_tdr {
	border-bottom-style: solid;
	border-bottom-width: 10px;
	border-bottom-color: #b7b7b7;
	background-color: #800000;
	border-right-width: 0px;
	border-left-width: 0px;
}

#right_column {
	float: right;
	width: 500px;
        padding-right: 15px;
}
#footer {
	margin: 20px;
	padding: 3px;
	clear: both;
	font-family: Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	background-color: #800000;
	font-size: 14px;
}

.white_text {
	background-color: #800000;
	color: #FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
}

.form_row {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
}

.link_p {
	margin-left: 20px;
	vertical-align: middle;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
}

.link_p img {
	vertical-align: middle;
	margin-right: 25px;
}
.link_p a {
	text-decoration: none;
	color: #000000;
}
.link_p a:hover {
	color: #009933;
}

</style>
</head>

<body>

<div id="container">

<div id="header">

<table id="header_table">
	<tr>
		<td class="header_top_tdl">&nbsp;</td>
		<td class="header_top_tdr">&nbsp;</td>
	</tr>

	<tr>
			<td colspan="2"><div align="center"><img src="images/img1.jpg" height="134" width="461">
			<img src="images/topimg.jpg" height="160" width="309"></div></td>
	</tr>
	<tr>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
	</tr>
</table>

</div>

<div id="content">
<div id="left_column">
	<table >
		<tr>
			<td colspan="2">
			</td>
		</tr>

		<tr>
			<td class="white_text"colspan="2">&nbsp;
			<font face="Trebuchet" color="#ffffff" size="2">Login Here</font></td>
<td>&nbsp;</td>
		</tr>
		<tr>
			<td colspan="2">&nbsp;
			</td>
		</tr>
		<form action="/sm/default.asp?action=login" method="post"
		name="login" language="JAVASCRIPT" onsubmit="return Validate();">
		<input name="todo" value="login" type="hidden"/><input name="url"
		value="/sm/default.asp" type="hidden"/>

		<tr class="form_row">
			<td>Email Address</td>
			<td>&nbsp;<input class="fieldbox" size="20" maxlength="50" name="members_username" type="text"/></td>
		</tr>
		<tr class="form_row">
			<td>Password</td>
			<td>&nbsp;<input class="fieldbox" size="20" maxlength="50" name="members_password" type="password"/></td>
		</tr>
		<tr class="form_row">
			<td>&nbsp;</td>

	<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<input class="fieldbox" value="Login" id="submit2" name="submit2" type="submit"/></td>
		</tr>

		</form>
		<tr>
			<td colspan="2" >
			<p class="link_p">&nbsp;</p>
			<p class="link_p">
			<img alt="Image" src="images/linkimg1.gif" width="30" height="25"/>
			<a href="http://www/te.html?action=login"><font face="Trebuchet" color="#000000" size="2"> Home</font></a></p>
			<p class="link_p">
			<img alt="Image" src="images/linkimg2.gif" width="30" height="25" />
			<a href="http://www/te.html?action=register"><font face="Trebuchet" color="#000000" size="2">Register</font></a></p>
			<p class="link_p">
			<img alt="Image" src="images/linkimg3.gif" width="30" height="25" />
			<a href="http://www./te.html?action=forgotusername"><font face="Trebuchet" color="#000000" size="2">FAQ</font></a></p>
			<p class="link_p">
			<img alt="" src="images/linkimg4.gif" width="30" height="25" />
			<a href="http://www./te.html?action=forgotusername"><font face="Trebuchet" color="#000000" size="2">Terms Of Use</font></a></p>
			<p class="link_p">
			<img alt="" src="images/linkimg5.gif" width="30" height="25" />
			<a href="http://www./te.html?action=forgotusername"><font face="Trebuchet" color="#000000" size="2">Contact Us</font></a></p>
			<p class="link_p">
			<img alt="" src="images/linkimg6.gif" width="30" height="25" />
			<a href="http://www./te.html?action=forgotpass"><font face="Trebuchet" color="#000000" size="2">Forgot Password</font></a></p>
			<p>&nbsp;</p>
<p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>
			</td>
		</tr>
		<tr>
			<td colspan="2">&nbsp;
			</td>
		</tr>
	</table>
</div><!-- end of left column -->

<div id="right_column">
<p>TEXT</p>

</div><!-- end of right column -->
</div><!-- end of content -->
<div id="footer">
<table style="width: 100%">
	<tr>
		<td>Â Copyright 2007 . All Rights Reserved.</td>
		<td style="text-align:right"><a href="mailto:"><font face="New Times Roman" color="#ffffff" size="2"></a></font><a href="mailto:"></a></td>
	</tr>
</table>

</div>

</div><!-- end of container -->

</body>
</html>
chrisj is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 12-17-2007, 05:20 PM Re: Combining ASP with HTML, help please...
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Since it looks like your script creates a new left column/header and footer, and since it includes your basic tags for starting/ending a page (html, head, body), put the header as the first line of your page and have it go down to the end of the left column, and replace your footer with the MMS footer.
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 12-17-2007, 05:27 PM Re: Combining ASP with HTML, help please...
Super Talker

Posts: 116
Hi,

Thanks for your reply.

I appreciate your suggestion, but I'm not that clear on it.

"put the header as the first line of your page" does that mean put the header file as the first line of my HTML page?

"and replace your footer with the MMS footer" where does it go, at what line?

Also, how do I keep the main Content part?
Thanks again.
chrisj is offline
Reply With Quote
View Public Profile
 
Old 12-17-2007, 05:35 PM Re: Combining ASP with HTML, help please...
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Quote:
Originally Posted by chrisj View Post
"put the header as the first line of your page" does that mean put the header file as the first line of my HTML page?
Yes, but you'll have to save it as a .ASP page.
Quote:
Originally Posted by chrisj View Post
"and replace your footer with the MMS footer" where does it go, at what line?

Also, how do I keep the main Content part?
Thanks again.
<div id="footer"> <--- this line.

This should preserve your main content part.
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 12-17-2007, 09:46 PM Re: Combining ASP with HTML, help please...
Super Talker

Posts: 116
I tried your suggestion and I have two headers and two left coulmn menus and the htmnl page where the main content should go.

My code also has two DOCTYPE lines, two <head> tags, two html tags,
this suggestion doesn't sound right.

I think I'd be better off getting help incorporating my html into the header and footer files, instead og incorporating the header and footer files into the html page.

Can anyone help me with this?

thanks.

Here's the code now as suggested in this thread:

Code:
<% Response.Buffer = True %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0.11 Transitional//EN">
<html><head>
<title>WTA</title>
<script src="java.js" type="text/javascript"></script>
<link rel="STYLESHEET" type="text/css" href="styles.css">
 
 
</head>
<body bgcolor="#ffffff">
 
<br />
<body>
 
<table width="75%" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000" style="border: solid 1px;">
<tr>
<td style="padding: 10px;">
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
<td><img src="http://www.webmaster-talk.com/images/img11.jpg" height="134" width="461">
<img src="http://www.webmaster-talk.com/images/topimg2.jpg" height="160" width="309"></td>
<td align="center">&nbsp;</td>
</tr> </table>
</td>
</tr></table>
<table width="75%" align="center" cellpadding="0" cellspacing="0" bordercolor="#800000" style="border: solid 1px;">
<tr bgcolor="White">
<td>
<table height="26" cellpadding="0" cellspacing="0" border="0" width="100%" bordercolor="#800000" background="img/_example/bg_tb1_.gif" width="100%"><tr>
<td width="200"><img src="img/_example/pixel.gif" width="200" height="1" alt="" border="0" /></td>
<td width="100%">
<table border="0" width="100%" align="right" cellpadding="2" cellspacing="0"><tr>
</tr></table>
</td>
</tr></table>
</td>
</tr>
<tr><td height="1" bgcolor="#d4d4d4"><img src="img/pixel.gif" width="1" height="1" alt="" border="0"></td></tr>
<tr>
<td>
<table width="100%" align="center" cellpadding="0" cellspacing="0" border="0"><tr>
<td width="200" bgcolor="White" valign="top">
<img src="img/_example/pixel.gif" width="200" height="1" alt="" border="0" />
<table width="95%" height="98%" align="center" cellpadding="2" cellspacing="0" border="0"><tr>
<td valign="top">
<br /><br />
<!-- SIDE MENU -->
 
<% If Session("PMMS_IN") = "True" Then '// CHECK IF MEMBER IS LOGGED IN ALREADY %>
 
<!-- MENU FOR LOGGED MEMBER ONLY -->
 
<br />
<table width="80%" align="center" cellpadding="2" cellspacing="0" border="0"><tr>
<td colspan="2">Welcome <i><%=Session("PMMS_NAME")%></i><br /><br /></td>
</tr><tr>
<td width="15">&ordm;</td>
<td><a class="lnk" href="profile.asp">My Profile</a></td>
</tr><tr>
<td width="15">&ordm;</td>
<td><a class="lnk" href="_purchase.asp">Purchase</a></td>
</tr><tr>
<td width="15">&ordm;</td>
<td><a class="lnk" href="newsletter.asp">Newsletters</a></td>
</tr><tr>
<td width="15">&ordm;</td>
<td><a class="lnk" href="members.asp">Member List</a></td>
</tr><tr>
<td width="15">&ordm;</td>
<td><a class="lnk" href="members_by_group.asp">Group Member List</a></td>
</tr><tr>
<td width="15">&ordm;</td>
<td><a class="lnk" href="file_cate.asp">File Repository</a></td>
</tr><tr>
<td width="15">&ordm;</td>
<td><a href="login.asp?logout=True">Log Out</a></td>
</tr></table>
<br />
<!-- [ MENU FOR LOGGED MEMBER ONLY ] -->
 
<% Else ' IF NOT LOGGED IN THEN SHOW THE LOGIN FORM%>
 
<!-- INCLUDE LOGIN FORM -->
<form action="login.asp" method="post">
<br />
<table align="center" cellpadding="2" cellspacing="0" border="0"><tr>
<td>Username:<br /><input class="textbox" type="Text" name="username" value="<%=Trim(Request.Cookies("USERNAME"))%>" maxlength="25" size="20" /></td>
</tr><tr>
<td>Password:<br /><input class="textbox" type="Password" name="password" value="" maxlength="25" size="20" /></td>
</tr><tr>
<td>
<input type="Checkbox" name="rem" value="1"<%If NOT Trim(Request.Cookies("USERNAME")) = "" Then%> checked<%End If%> />Save Username<br />
<input style="width: 100%;" type="Submit" value="Login Now" /><br /><br /><a href="reminder.asp">Password Reminder</a>
</td>
</tr></table><br />
<input type="Hidden" name="mode" value="login" /><input type="Hidden" name="ref_page" value="<% If Len(Trim(Request.QueryString("ref_page"))) = 0 Then%><%=Request.ServerVariables("URL") & "?" & Request.QueryString%><%Else%><%=Request.QueryString("ref_page")%><%End If%>" />
</form>
<!-- [ INCLUDE LOGIN FORM ] -->
<% End If %>
<br /><br />
<img src="img/_example/linkimg1.gif" width="25" height="24" alt="" border="0" /><a class="MainMenuLNKExample" href="index.asp"> HOME</a><br />
<img src="img/_example/linkimg3.gif" width="25" height="24" alt="" border="0" /><a class="MainMenuLNKExample" href="register.asp"> FAQ</a><br />
<% If Session("PMMS_IN") = "True" Then '// CHECK IF MEMBER IS LOGGED IN ALREADY %>
<img src="img/_example/arrow_gray_top_inverse_b.gif" width="15" height="14" alt="" border="0" /><a class="MainMenuLNKExample" href="login.asp?logout=True">LOG OUT</a>
<% Else %>
<img src="img/_example/linkimg2.gif" width="25" height="24" alt="" border="0" /><a class="MainMenuLNKExample" href="register.asp"> REGISTER</a><br />
<% End If %>
<img src="img/_example/linkimg4.gif" width="25" height="24" alt="" border="0" /><a class="MainMenuLNKExample" href="register.asp"> TERMS OF USE</a><br />
<img src="img/_example/linkimg5.gif" width="25" height="24" alt="" border="0" /><a class="MainMenuLNKExample" href="register.asp"> CONTACT US</a><br /><br />
<img src="img/_example/arrow_gray_top_inverse_b.gif" width="9" height="8" alt="" border="0" /><a class="MainMenuLNKExample" href="anymember.asp">ALL MEMBERS</a><br />
<img src="img/_example/arrow_gray_top_inverse_b.gif" width="9" height="8" alt="" border="0" /><a class="MainMenuLNKExample" href="groupmembers.asp">GROUP 2 or 5</a><br />
<img src="img/_example/arrow_gray_top_inverse_b.gif" width="9" height="8" alt="" border="0" /><a class="MainMenuLNKExample" href="help.asp">HELP ME</a>
 
 
 
<!-- [ SIDE MENU ] -->
<br /><br />
</td>
</tr></table>
</td>
<td width="7" valign="top" height="100%">
<table height="100%" width="7" cellpadding="0" cellspacing="0" border="0"><tr>
<td><img border="0" src="img/side_1.gif" width="7" height="28"/></td>
</tr><tr>
<td height="100%" background="img/side_2.gif"><img src="img/pixel.gif" width="7" height="1" alt="" border="0"></td>
</tr></table>
</td>
<td valign="top">
<table width="95%" align="center" cellpadding="2" cellspacing="0" border="0"><tr>
<td><br /><br />
<!-- MAIN PAGE CONTENT -->
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>TEST</title>
<style type="text/css">
body {background-color: #ebebeb;}
#container {
width: 830px;
margin-left: auto;
margin-right: auto;
background-color: #FFFFFF;
}
#left_column {
border: 1px solid #999999;
float: left;
width: 230px;
margin-top: 5px;
margin-right: 10px;
margin-left: 20px;
margin-bottom: 40px;
padding-left: 10px;
padding-right: 10px;
padding-top: 5px;
}
#header_table {
width: 100%;
border-collapse: collapse;
}
.header_top_tdl {
padding: 0px;
margin: 0px;
border-bottom-style: solid;
border-bottom-width: 10px;
border-bottom-color: #b7b7b7;
background-color: #800000;
width: 150px;
border-collapse: collapse;
border-right-width: 0px;
border-left-width: 0px;
}
.header_top_tdr {
border-bottom-style: solid;
border-bottom-width: 10px;
border-bottom-color: #b7b7b7;
background-color: #800000;
border-right-width: 0px;
border-left-width: 0px;
}
#right_column {
float: right;
width: 500px;
padding-right: 15px;
}
#footer {
margin: 20px;
padding: 3px;
clear: both;
font-family: Arial, Helvetica, sans-serif;
color: #FFFFFF;
background-color: #800000;
font-size: 14px;
}
.white_text {
background-color: #800000;
color: #FFFFFF;
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: bold;
}
.form_row {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
}
.link_p {
margin-left: 20px;
vertical-align: middle;
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
}
.link_p img {
vertical-align: middle;
margin-right: 25px;
}
.link_p a {
text-decoration: none;
color: #000000;
}
.link_p a:hover {
color: #009933;
}
</style>
</head>
<body>
<div id="container">
<div id="header">
<table id="header_table">
<tr>
<td class="header_top_tdl">&nbsp;</td>
<td class="header_top_tdr">&nbsp;</td>
</tr>
<tr>
<td colspan="2"><div align="center"><img src="http://www.webmaster-talk.com/images/img1.jpg" height="134" width="461">
<img src="http://www.webmaster-talk.com/images/topimg.jpg" height="160" width="309"></div></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</div>
<div id="content">
<div id="left_column">
<table >
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td class="white_text"colspan="2">&nbsp;
<font face="Trebuchet" color="#ffffff" size="2">Login Here</font></td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="2">&nbsp;
</td>
</tr>
<form action="/sm/default.asp?action=login" method="post"
name="login" language="JAVASCRIPT" onsubmit="return Validate();">
<input name="todo" value="login" type="hidden"/><input name="url"
value="/sm/default.asp" type="hidden"/>
<tr class="form_row">
<td>Email Address</td>
<td>&nbsp;<input class="fieldbox" size="20" maxlength="50" name="members_username" type="text"/></td>
</tr>
<tr class="form_row">
<td>Password</td>
<td>&nbsp;<input class="fieldbox" size="20" maxlength="50" name="members_password" type="password"/></td>
</tr>
<tr class="form_row">
<td>&nbsp;</td>
<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input class="fieldbox" value="Login" id="submit2" name="submit2" type="submit"/></td>
</tr>
See the rest of the code in the next thread

Last edited by chrisj : 12-17-2007 at 11:55 PM.
chrisj is offline
Reply With Quote
View Public Profile
 
Old 12-17-2007, 11:57 PM Re: Combining ASP with HTML, help please...
Super Talker

Posts: 116
[code] <a href="

Last edited by chrisj : 12-18-2007 at 09:46 AM.
chrisj is offline
Reply With Quote
View Public Profile
 
Old 12-18-2007, 12:58 AM Re: Combining ASP with HTML, help please...
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
You misunderstood me, Chris. I meant that you should replace your code to the point where the left column ends with the header, and replace the footer code with the MMS footer.

That's why you're having trouble. You added it in.
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 12-18-2007, 09:31 AM Re: Combining ASP with HTML, help please...
Super Talker

Posts: 116
Hi,

Thanks for your reply.

Would you please just do the replacement that you're talking about?
Wouldn't it just be a simple cut and paste? And post it here?
Then your suggestion would be clear and the code would be correct.

Thanks.
chrisj is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Combining ASP with HTML, help please...
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.22036 seconds with 13 queries