Hi,
I am facing problem when using javascript and css in my html page. I
including javascript and css like this:

<link href="css/CalendarControl.css" rel="stylesheet" type="text/css">
<script language="javascript" src="js/CalendarControl.js"></script>

<input type="text" name="current_start_date"
onfocus="showCalendarControl(this);">

The _autohandler is like this:
<html>
<head>
<title>
Calendar
</title>
</head>
<body style="background-color: pink">
<br />
% $m->call_next;
<br />
</body>
</html>

The css and js files are being enclosed by <html> and <body> tags and
hence they are not working.
How can I solve this so that html and body tags appear only for html
pages and not for js and css pages?

Thanks
-- 
Shiladitya
------------------------------------------------------------------------
"If I Had More Time I Would Write a Shorter Letter"
 -- Blaise Pascal

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to