I read some answers on that questions, but it is still not working as expected.
The code says: link yellow, border green : the result is not the one I expect. If I change the colors, the result remains the same.
\documentclass{article}
\usepackage{xcolor,hyperref}
\hypersetup{%
colorlinks=true,
linkcolor=yellow,
linkbordercolor=green,
pdfborderstyle={/S/U/W 1pt}}
\begin{document}
\href{%
https://studio.code.org/s/course3/stage/2/puzzle/1}{%
Labyrinthe}
\end{document}
Best Answer
You need to reset the border style AtBeginDocument:
Use
pdfborderstyle={/S/U/W 1}
if you want to underline.