adds error class to stylesheet
adds onload fix to properly apply floats