Try: <script language="javascript" src="main.js">//</script>
(You should also use type="text/javascript" rather than the depricated language attribute. See http://www.w3schools.com/tags/tag_script.asp) - Justin On 9/18/03 9:01 AM, "Lionel Crine" <[EMAIL PROTECTED]> wrote: > I have some trouble with javascript. > > > With a xhtml file like that : > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > > <title>Open a Declaration</title> > <script language="javascript" src="main.js"/> > > </head> > <script> </script> --> notice the blank space > <body> > > the document is well displayed. > > BUT : whith this : > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > > <title>Open a Declaration</title> > <script language="javascript" src="main.js"/> > > </head> > <body> > > I have a blank page. > > What's happening, did I miss something ?? > > Lionel CRINE > Soci�t� : 4DConcept > 22 rue Etienne de Jouy 78353 JOUY EN JOSAS > Tel : 01.34.58.70.70 Fax : 01.39.58.70.70 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
