A is a stationary observer watching B who is moving relative to A. Both of them hold two identical light clocks and each shoots light rays to estimate the lengths of their clocks. A's light ray will only have to travel a distance of the light clock but B's light ray will have to travel a lot further(longer than the length of the clock)to reach the end of its clock. Both observers measure the light ray travelling at the speed of light(according to Einstein's second postulate), but the time it took to reach the ends was different. So B's measurement of the length of the clock is slightly longer than A's measurement of his length of the clock. So this proves that observers in different reference frames will disagree on length in the perpendicular direction as well
There should be something wrong with this explanation but I'd like to know why. I am also aware of the general explanation for why length contraction can't effect the distances in the perpendicular direction using two cylinders, but I want to know why this logic is not valid.