$\displaystyle \lim_{x\to 7^-} \frac{\left|x-7\right|}{x-7} = $
Writing absolute value as:
$x-7 > 0$
$x > 7$
which means
$x - 7$ when $x > 7$
then:
$ -(x - 7) < 0$
$-x + 7 < 0$
$-x < - 7$
$x > 7$
which means
$-x + 7 $ when $x > 7$
So when $x > 7$ what equation should I use?
$x - 7$
or
$-x + 7 $

$$|x-7| = \begin{cases} x-7, & x\ge 7 \\ -(x-7), & x\lt 7\end{cases}$$
Your limit is from the left side (I can tell because you've written $x\to 7^-$), meaning that you only care what this limit approaches for values of $x\lt 7$. And in this region of the domain of your function $|x-7| = -(x-7)$. So
$$\lim_{x\to 7^-} \dfrac {|x-7|}{x-7} = \lim_{x\to 7^-} \dfrac {-(x-7)}{x-7} = \lim_{x\to 7^-} -1 = -1$$