How to make the dashed underscore only in external links?

    1 answer 1

    Watch live example

    <style> a { text-decoration: none; border-bottom: 2px solid #900; font-size: 3em; } a[href^=http]{ border-bottom: 2px dashed #900; } a:hover { border-bottom: none; } </style> <a href="page.php">Внутренняя</a><br /> <a href="http://site.ru">Внешняя ссылка</a> 
    • Thx! ////// - Kamilplus