How to make the dashed underscore only in external links?
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>
Source: https://ru.stackoverflow.com/questions/103183/More articles:Dynamic button on phpSearch by key in arrayAssigning an Procedure ArrayProcessing links phpElement style changeIs it possible to create a superglobal variable in php?Error: java.lang.RuntimeException: Unable to start activity ...How to properly remove Windows7 next to XP?Amount depending on price and quantity in inputIs it possible to handle MySQL errors in php?All Articles