# Removing spaces between colored rows [closed]

I have a small tex document below, and I have tried various methods to remove the white spaces between rows, but haven't had any luck yet. Thanks! Here's the document:

\documentclass[a4paper,landscape]{article}
\usepackage{xcolor}
\usepackage{colortbl}
\usepackage{longtable}
\usepackage[T1]{fontenc}
\usepackage[scaled]{beramono}
\begin{document}
\newcolumntype{C}{>{\color[HTML]{F8F8F8}\columncolor[HTML]{000000}}l}
\newcolumntype{N}{>{\color[HTML]{000000}\columncolor[HTML]{DDF0FF}}l}
\begin{longtable}{NC}
\texttt{   1 }&\mbox{\texttt{ {\color[HTML]{E28964}def}\hspace{1ex}{\color[HTML]{89BDFF}hello}}}\\
\texttt{   2 }&\mbox{\texttt{ \hspace{1ex}\hspace{1ex}puts\hspace{1ex}{\color[HTML]{65B042}{\color[HTML]{65B042}''}Hi\hspace{1ex}guys!{\color[HTML]{65B042}''}}}}\\
\texttt{   3 }&\mbox{\texttt{ {\color[HTML]{E28964}end}}}\\
\end{longtable}
\end{document}

-
I don't see any whitespace: i.imgur.com/mlHs9.png maybe it's your viewer? (Have you tried zooming in/out?) –  dbaupp Mar 10 '12 at 4:27
If you replace the \\  with \\[-1pt] the white space seems to go away. I'll leave this as a comment as it is too hackish, even for me... –  Peter Grill Mar 10 '12 at 5:42
I tried with pdflatex and xelatex and didn't see any gaps between the rows with either pdflatex or xelatex (tl2010 versions) what versions were you and @PeterGrill using? This is likely to be a back end driver rendering issue. If you are typesetting adjacent coloured panels then even a single pixel out is disturbing if it leaves a gap. –  David Carlisle Mar 10 '12 at 11:29
@DavidCarlisle: I also am on Mac TeXLive2011 (packages updated yesterday), and saw the horizontal lines in both the TeXWorks previewer and Adobe Acrobat. I have seem similar issues, and recall that at some magnifications the lines don't show, zooming in shows them, and zooming in further does not... –  Peter Grill Mar 10 '12 at 16:46
@PeterGrill: I am using Ubuntu and I can't see any white lines, too. –  Marco Daniel Apr 12 '12 at 18:52