Do we use "in front of" instead of opposite if the two building faced to faced across the road?

Eg: The mosque is in front of the temple.
Original Post
It would be better to say:

Building A is opposite Building B.
Building A is across (the street) from Building B.
Building A faces Building B.

"In front of" is for someone or something that is directly outside the building:

Wait for me in front of the hotel.
A car is parked in front of our building.
Thanks, but we normally say:

She sat in front of the mirror. (means face to the mirror)

P/s: Why don't we say "in front of the temple"? They are the same thing. Right?
"In front of" doesn't say whether you are facing something. When you are in front of a mirror you are close to it. You might be facing it or you might have your back to it, but you are close to it. If I am looking in the mirror (facing it) but I'm on the other side of the room, I can't say I'm in front of the mirror.

If two buildings are across the street from each other, one is not in front of the other.
Okaasan is right.

'Across from' is used when there is something dividing the entities: a street, a river, or a hallway, for instance.

So, we would say that # 21 Maple Street is next to # 23 Maple Street (on the same side), and they are across (the street) from# 22 and # 24 Maple Street on the other side.

We say that Rooms # 233 and # 235 are next to each other and across (the hall) from Rooms # 234 and # 236.

We say Europe is across the ocean from North America.
_______

Let's say you are talking about your house. It's white. In front of your house -- on the same side of the street -- you have two large trees. There is a car parked in front of your house, on the same side of the street.

Opposite your house -- across the street from your house -- is another house, a yellow house. You may see another car parked in front of that yellow house, and that yellow house may have some trees in front of it, too. That car and those trees are in front of that yellow house, but the yellow house, its trees, and the car parked in front of it are all across (the street) from your white house.

If you are standing between your house and the street, you are standing in front of your house. If your neighbor in the yellow house is standing between his house and the street, he is standing in front of his house, but across (the street) from you and your house.

If a street divides the mosque and the temple, the are across (the street) from each other.