1

Как сделать, чтобы было пунктирное подчеркивание только у внешних ссылок?

1 ответ 1

7

Смотреть живой примерчик

<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>
1
  • Thx!//////
    – Kamilplus
    21 апр 2012 в 10:35

Ваш ответ

By clicking “Отправить ответ”, you agree to our terms of service and acknowledge you have read our privacy policy.

Всё ещё ищете ответ? Посмотрите другие вопросы с метками или задайте свой вопрос.