a simple cross browser way to obtain some display info