createErrorMsg - 10:00 pm on May 21, 2012 (gmt 0)
Floated elements act unpredictably when they don't have explicit widths. So
float:right;width:auto is almost guaranteed to give you problems.
Beyond that, I think we would need to see the accompanying html in order to see what is nested in what and properly recreate/diagnose the problem.