I have the following code that generate a box with text content:
\documentclass{report}
\usepackage{color}
\usepackage{lipsum}
\newcommand\tipbox[1]{%
\begin{center}%
\fcolorbox{black}{white}{%
\begin{minipage}[t]{\dimexpr\textwidth-2\fboxsep-2\fboxrule}%
#1%
\end{minipage}}%
\end{center}}
\begin{document}
\lipsum[1]
\tipbox{\lipsum[1]}
\lipsum[1]
\tipbox{\lipsum[1]}
\end{document}
However, in the generated PDF, it does not show the lines properly at 100% zoom. See the screenshots taken from Foxit Reader (note missing left border):
and from TeXworks reader (note missing top border):
If I increase the zoom to a larger number I can see all the lines. I haven't tried to print to see the results. Is this a PDF reader issue or a problem with my box? How to fix this?