Foundas
07-16-2005, 03:45 AM
Hi guys
i am using one of DreamWeaver CSS layouts and after several modifications, i finally got it the way i like it.
i want to use this layout for every page in my website. I have included the header.htm and the .css style but i have two problems.
a. i wish to have this code on the right column:
<%
if session("username")="" then %>
<!--#include file="login.inc"-->
<% else %>
<!--#include file="sidemenu.inc"-->
<% end if %>
but what happens is that the above lines of code are shown as text inside the right column. How can i make it contain the above files?
b. in the "content" DIV, i wish place every .asp file i visit on the website. How can i do this? if i include "header.htm" in my .asp files, then the page is displayed and the contents of every .asp file i visit, is placed at the end of the header file and not inside the content DIV
can you please help me out?
best regards
i am using one of DreamWeaver CSS layouts and after several modifications, i finally got it the way i like it.
i want to use this layout for every page in my website. I have included the header.htm and the .css style but i have two problems.
a. i wish to have this code on the right column:
<%
if session("username")="" then %>
<!--#include file="login.inc"-->
<% else %>
<!--#include file="sidemenu.inc"-->
<% end if %>
but what happens is that the above lines of code are shown as text inside the right column. How can i make it contain the above files?
b. in the "content" DIV, i wish place every .asp file i visit on the website. How can i do this? if i include "header.htm" in my .asp files, then the page is displayed and the contents of every .asp file i visit, is placed at the end of the header file and not inside the content DIV
can you please help me out?
best regards