How to hide all elements apart from id=mainContainer

Viewed 281

I've been trying to hide everything apart from the main content on the following Facebook post

I've been injecting the following css without luck - can someone please help?

html body * {
 display:none;
}

#contentArea {
 display:block;
}

Below is a screenshot of what I'm after. enter image description here

3 Answers
Related