Tuesday, 19 October 2010

Web Design reminders...

Gosh, old IE and Firefox don't play well together.

Mental notes(!):

  • IE prefers any events to be declared on the INPUT elements (e.g. SELECT) rather than on the FORM object
  • IE doesn't trigger an 'onchange' event for a radio button until you click elsewhere on the form(!) To make it work in both IE and FF, use 'onclick'.
And probably many more besides.

Also do remember that IE works more to standards if you include a correct HTML header (conforming) tag such as:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

No comments: