Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-12-2004, 02:24 AM   PM User | #1
chamith7
New Coder

 
Join Date: Jan 2004
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
chamith7 is an unknown quantity at this point
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
chamith7 is offline   Reply With Quote
Old 02-12-2004, 02:34 AM   PM User | #2
Antoniohawk
Senior Coder

 
Join Date: Aug 2002
Location: Kansas City, Kansas
Posts: 1,518
Thanks: 0
Thanked 2 Times in 2 Posts
Antoniohawk will become famous soon enough
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>
Antoniohawk is offline   Reply With Quote
Old 02-13-2004, 02:53 PM   PM User | #3
DsgnrsTLZAdmin
Regular Coder

 
Join Date: Jan 2004
Location: Georgia
Posts: 306
Thanks: 0
Thanked 0 Times in 0 Posts
DsgnrsTLZAdmin is an unknown quantity at this point
<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~
DsgnrsTLZAdmin is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:22 AM.


Advertisement
Log in to turn off these ads.