i am trying to prove the => direction first.

assuming that A is dense, i know that $\displaystyle \forall (a, b) \subseteq \mathbb{R}, \exists x \in A \ s.t. \ x \in (a, b)$

i also know that A is open so $\displaystyle x \in A \Rightarrow \exists B_{r}(x) \subseteq A $

the trouble i am having is that i am not sure if $\displaystyle B_{r}(x) \subseteq (a, b)$ because if that was true then it follows that $\displaystyle \mathbb{R} - A $ is nowhere dense.

could someone help me continue the proof? thanks.