fix style error under ie 6

fake a console object;
fix inline-block;