I'm having a bit of a trouble understanding the proof that if $A$ and $B$ are subspaces of $X$ and $A \subseteq B \subseteq \operatorname{Clo}(A)$, then if $A$ is connected so is $B$ in Munkres's Topology. The proof he gave was: if $B$ has a seperation $C \cup D$ then without the lost of generality, we can assume $A$ is contained in $C$, but that means $\operatorname{Clo}(A) \subseteq \operatorname{Clo}(C)$. Since $\operatorname{Clo}(C)$ is disjoint from $D$, that contradicts the fact that $B$ contains $D$.
I think the closures are taken with respect to $X$, because then we can conclude that $B$ is a subset of $\operatorname{Clo}(C)$, but then I'm having a hard time figuring out how $\operatorname{Clo}(C)$ (taken with respect to $X$) is disjoint from $D$.
Since $D$ is open in $B$ it follows that $D=D'\cap B$ where $D'$ is open in $X.$ Since $C\subseteq B$ we find that $$C\cap D'=C\cap (D'\cap B)=C\cap D=\emptyset.$$ Thus $D'$ and $C$ are disjoint.
The set $\text{Clo}(C)$ is the smallest closed set containing $C.$ The set $X\backslash D'$ is a closed set containing $C,$ so $\text{Clo}(C)\subseteq X\backslash D'.$ Since $D\subseteq D'$ we find $D\cap X\backslash D'=\emptyset,$ therefore $D\cap\text{Clo}(C)=\emptyset.$