There is disclosed a contact structure for electrically connecting
conducting lines formed on a first substrate of an electrooptical device
such as a liquid crystal display with conducting lines formed on a second
substrate via conducting spacers while assuring a uniform cell gap among
different cells if the interlayer dielectric film thickness is nonuniform
across the cell or among different cells. A first conducting film and a
dielectric film are deposited on the first substrate. Openings are formed
in the dielectric film. A second conducting film covers the dielectric
film left and the openings. The conducting spacers electrically connect
the second conducting film over the first substrate with a third
conducting film on the second substrate. The cell gap depends only on the
size of the spacers, which maintain the cell gap.