HTML, JavaScript And CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingHTML, JavaScript And CSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old October 23rd, 2004, 12:09 PM
JayD JayD is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: Boulder, CO
Posts: 35 JayD User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Wink How To Underline

I wanted to provide a line on an HTML Report that I have created to a client so that he can write a value on the report, for example:

Client Name: _________________________

The <HR> doesn't work because it puts the horizontal line vertically in the middle not at the bottom.

I figured out that I can do this

<TR><TD><U>&nbsp;>&nbsp;>&nbsp;>&nbsp;>&nbsp;>&nbsp;</U></TD></TR>

This works great but I need an awful lot of &nbsps.

1. Is there a way to tell the system to use 1000 &nbsp, for example 100&nbsp; or &nbsp: X 100?

2. Or as always is there a better way?

Reply With Quote
  #2  
Old October 23rd, 2004, 10:39 PM
swstyles swstyles is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 35 swstyles User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 5 sec
Reputation Power: 4
Send a message via AIM to swstyles
Have you tried using underscores?


yo:________________________

Reply With Quote
  #3  
Old October 24th, 2004, 01:45 AM
shamrog12's Avatar
shamrog12 shamrog12 is offline
Newton's Apple Wizard
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 1,661 shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Weeks 2 Days 2 h 39 m 22 sec
Reputation Power: 34
Send a message via AIM to shamrog12
Try this:

Code:
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
.underline {
	display: inline;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #000000;
	position: absolute;
	width: 100px;
}
-->
</style>
</head>
<body>
Client Name:<div class="underline">&nbsp;</div>
</body>
__________________
If you found a post of mine helpful, please click on the on my post to add to my reputation.


Reply With Quote
  #4  
Old October 26th, 2004, 05:06 AM
ratmilk ratmilk is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Location: Melbourne, Australia
Posts: 22 ratmilk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Exclamation There is a ASP way

There is a ASP way to insert as many spaces you like, i dont know it off the top of my head. Post it in the ASP help section if you wan to use it.
Zac

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingHTML, JavaScript And CSS Help > How To Underline


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway