My computer also reboots on its own sometimes usually when the system resources are below 5%. The fact that designing web pages takes up huge resources could also back this up. Upgrading ur computer would be a good move espically RAM seeing as its so cheap at the moment