Interestingly this is true for the fractional ideals of the ring of integers $\mathbb{Z}_K$ of an algebraic number field $K$:
1) Using the Chinese Remainder Theorem to show that if $\mathfrak{P}=\prod_{i=1}^k \mathfrak{p}_i^{n_i}$, $i\neq j \Rightarrow \mathfrak{p}_i \neq \mathfrak{p}_j$, is a product of prime ideals and if $b_i \in \mathfrak{p}_i^{n_i}-\mathfrak{p}_i^{n_i+1}$ ($-$ denoting the difference of sets), there is a $x \in \mathfrak{P}$ which fulfills the conditions $x\equiv b_i \mod{\mathfrak{p}_i^{n_i+1}}$ for all $1\leq i \leq k$.
2) If $\mathfrak{a}\subseteq \mathfrak{b}$ are two fractional ideals of $K$, then there is an $x\in\mathfrak{b}$ so that $\mathfrak{b}=\mathfrak{a}+(x)$. This can be done by assuming $\mathfrak{b}$ to be an integral ideal. Using unique factorisation assume that $\mathfrak{a}$ is a product of the same prime ideals (maybe some of them have exponent 0 in the prime ideal decomposition). Show that any primde ideal of $\mathbb{Z}_K$ divides $\mathfrak{b}$ and $\mathfrak{a}+(x)$ the same number of times each.
3) Now you can easily conclude that any fractional ideal of $K$ is generated by at most 2 elements.