Question:

What's the css/html code to double underline a certain text?

by  |  earlier

0 LIKES UnLike

What's the css/html code to double underline a certain text?

 Tags:

   Report

3 ANSWERS


  1. Use this styling between the head tags for your link tags:

    <style type="text/css">

    a:link {

    text-decoration: none;

    }

    a:visited {

    text-decoration: none;

    }

    a:hover {

    border-bottom: 3px double #f00;

    }

    a:active {

    text-decoration: none;

    }

    </style>

    Change the hover underline color as you like.  (#f00 is red)

    Ron


  2. CSS code:

    But this in head of HTML document:

    <style type="text/css">

    .double_underline {

    border-bottom: 3px double;

    }

    </style>

    In body:

    <span class="double_underline">Double Underlined Text</span>

  3. it will do it on mouseover for a link

    <style>

    a:link {

    text-decoration: none;

    }

    a:hover {

    border-top: 3px double;

    border-bottom: 3px double;

    }

    a:visited {

    text-decoration: none;

    }

    </style>

    <a href="#">test link</a>

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.