SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot Maher's Avatar
    Join Date
    Mar 2003
    Location
    Somewhere Close..
    Posts
    109
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Arrow Text-Decoration problem...

    Wondering if it is possible to modify the Value (underline) in the following code:

    p { text-decoration: underline; }

    Can I customize the underline color, width or height through CSS? so for example the default underline color will be different than the original text?

    Thanks!

  2. #2
    Winemaster bronze trophy BonRouge's Avatar
    Join Date
    Oct 2004
    Location
    Sendai, Japan
    Posts
    2,417
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use a border. Check it out :

    Code:
    <html>
    <head>
    <style type="text/css">
    span {color: navy; border-bottom:1px solid crimson}
    </style>
    </head>
    <body>
    <span>hello there</span>
    </body>
    </html>


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •