Jump to menu

Vote up?

  1. Seb Frost


    1) why the extraneous div around the p – this seems like wasted markup to me, i tend to just use class=”error” on my p tag and apply all the styling needed directly to that.

    2) I also prepend “Error: ” at the start of the error message. I like having that text visible even to normal users, and obviously it will work fine for screen readers and the like.

    I’d much rather that than put a needless (IMHO) image tag every time I have an error/message/warning etc on a page.