It worked. Thanks a lot!
how to remove header and footer from 404 error templates.
I have created 404.tpl , and added my custom message. however, I dont want anything else to appear. I tried to use Jquery to do this and it works but after the page is load, so it shows the header and footer for a second then hide them. is it possible to do so before page load ??
thank you !!
the answer is in this topic :