|
-
Dec 3rd, 2002, 03:17 AM
#1
Thread Starter
Lively Member
Spaces and/or tabs
What I wish to know might be simple. What are the html codes for spaces and tabs? I have a program that converst text into html. but it doesn't convert present spaces and tabs.
And a second question would be: which code is the tab ASCII code? Can't seem to find that one either.
Thank you for the answer.
Regards,
danielsan
Last edited by danielsan; Dec 3rd, 2002 at 05:31 AM.
Regards,
danielsan
'Even though the book is finished. There's no need to close and forget.'
-
Dec 3rd, 2002, 04:19 AM
#2
Code:
Horizontal tab = 	
Space =  
ASCII Tab as above 9 ( I think)
edit : well it only took three attempts to get that right
-
Dec 3rd, 2002, 05:34 AM
#3
Thread Starter
Lively Member
although the spaces work nicely, the tabs don't. Does this have anything to do with the browser element being embedded?
Regards,
danielsan
'Even though the book is finished. There's no need to close and forget.'
-
Dec 3rd, 2002, 08:14 AM
#4
Conquistador
or & nbsp; (altogether - no space)
is a space too
-
Dec 3rd, 2002, 08:40 AM
#5
by da_silvy
or & nbsp; (altogether - no space)
Is there a difference between a space and a non-breaking space?
oh, and danielsan I don't know why the tab ain't working
-
Dec 3rd, 2002, 10:43 AM
#6
Frenzied Member
&nbsp is the same as if you just pushed the space bar.
-
Dec 3rd, 2002, 11:34 AM
#7
Black Cat
Originally posted by DeadEyes
Is there a difference between a space and a non-breaking space?
oh, and danielsan I don't know why the tab ain't working
On a normal space, it can be used to wrap text at the space. A non-breaking space keeps the space on the same line as the surrounding text.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|