added some submit checking codes.
modified css files.