Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Underline

  1. #1
    New Coder
    Join Date
    Jan 2004
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Underline

    Using CSS, is there a way I can add an underline to some text that continues to the right of the table. Here's a crude example:

    10 February 2004______________________________

    Thanks

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Location
    Kansas City, Kansas
    Posts
    1,518
    Thanks
    0
    Thanked 2 Times in 2 Posts
    How about this?
    Code:
    <html>
    <head>
    <style>
    span#text {
      border-bottom: 1px solid black;
      width: 300px;
    }
    </style>
    </head>
    <body>
    <span id="text">10 February 2004</span>
    </body>
    </html>

  • #3
    Regular Coder
    Join Date
    Jan 2004
    Location
    Georgia
    Posts
    306
    Thanks
    0
    Thanked 0 Times in 0 Posts
    <html>
    <head>
    <style type="text/css">
    <!--
    span#underline { border-bottom: 1px solid black; width: 300px; }
    -->
    </style>
    </head>
    <body>
    <span id="underline">10 February 2004</span>
    </body>
    </html>
    ~Designer's Toolz~


  •  

    Posting Permissions

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