div with style, no class
div with class, no style

IE5.5:
    n.getAttribute('style') = object regardless of whether any inline
    n.style = object regardless of whether any inline
    n.className works, empty string if none
    n.getAttribute('class') always returns null
    n.getAttribute('className') works, empty string if none
    n.missing = undefined, regardless of whether standard
    n.getAttribute('missing') = null, regardless of whether standard

Mozilla:
    n.getAttribute('style') = string if one, null if none
    n.style = object regardless of whether any inline
    n.className works, empty string if none
    n.getAttribute('class') works, null if none
    n.getAttribute('className') always returns null
    n.missing = undefined, regardless of whether standard
    n.getAttribute('missing') = null, regardless of whether standard

Opera:
    n.getAttribute('style') = string if one, empty string if none
    n.style = object regardless of whether any inline
    n.className works, empty string if none
    n.getAttribute('class') works, empty string if none
    n.getAttribute('className') works, empty string if none
    n.missing = undefined, regardless of whether standard
    n.getAttribute('missing') = empty string, regardless of whether standard

Safari:

    n.getAttribute('style') = string if one, null if none
    n.style = object regardless of whether any inline
    n.className works, empty string if none
    n.getAttribute('class') works, null if none
    n.getAttribute('className') always returns null
    n.missing = undefined, regardless of whether standard
    n.getAttribute('missing') = null, regardless of whether standard

Conclusions: