# tabular margin left overflow [closed]

I try to build a tabular with latex and experience a little overflow of the horizontal line on my tabular on the left. whatever I tried everything just switched the overflow so it sometimes happens on the right side and with other configurations, like shown, on the left. It's just about 1 mm but that shouldn't be...

Heres the code that procudes it:

\begin{table}[H]
\centering
\begin{tabular}{|l||p{10cm}|}
\hline
\textbf{Risikobeschreibung} & xyz\\
\hline
\textbf{Auswirkungen}   & xyz\\
\hline
\textbf{Warnzeichen}    & xyz\\
\hline
\textbf{Eintrittswahrscheinlichkeit}    & xyz\\
\hline
\textbf{Vermeidungsstrategie}   & xyz\\
\hline
\textbf{Maßnahmen bei Eintreten} & xyz\\
\hline\hline
\end{tabular}
\caption{Risikoanalyse}
\label{tab:Risikoanalyse}

\end{table}

Hope you can see it on the image.

-
I can't replicate this on MikTeX 2.9 neither XeLaTeX nor PDFLaTeX. Can you complete your example to a minimal working example (MWE) that illustrates your problem ? – percusse Jan 31 at 21:38
As @percuße said you need to provide a full example, however you might try \usepackage{array} as that changes the rule positioning logic as well as its other table extensions. – David Carlisle Jan 31 at 21:48

## closed as too localized by lockstep, Martin Schröder, Claudio Fiandrino, Kurt, Stefan Kottwitz♦Feb 12 at 14:18

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

You can easily use tabular* instead of tabular. Then you can set the width of your table to textwidth (width of the text).

Consider the following code:

\begin{table}[H]
\centering
\begin{tabular*}{\textwidth}{|l||p{10cm}|}
\hline
\textbf{Risikobeschreibung} & xyz\\
\hline
\textbf{Auswirkungen}   & xyz\\
\hline
\textbf{Warnzeichen}    & xyz\\
\hline
\textbf{Eintrittswahrscheinlichkeit}    & xyz\\
\hline
\textbf{Vermeidungsstrategie}   & xyz\\
\hline
\textbf{Maßnahmen bei Eintreten} & xyz\\
\hline\hline
\end{tabular*}
\caption{Risikoanalyse}
\label{tab:Risikoanalyse}

\end{table}
-