fixed some minor errors, w3c,css checking correctly.