Results 1 to 7 of 7

Thread: Spaces and/or tabs

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2002
    Location
    behind a pc
    Posts
    117

    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.'

  2. #2
    Frenzied Member DeadEyes's Avatar
    Join Date
    Jul 2002
    Posts
    1,196
    Code:
    Horizontal tab = 	
    Space =  
    ASCII Tab as above 9 ( I think)
    edit : well it only took three attempts to get that right

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2002
    Location
    behind a pc
    Posts
    117
    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.'

  4. #4
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    or & nbsp; (altogether - no space)

    is a space too

  5. #5
    Frenzied Member DeadEyes's Avatar
    Join Date
    Jul 2002
    Posts
    1,196
    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

  6. #6
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    &nbsp is the same as if you just pushed the space bar.

  7. #7
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    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
  •  



Click Here to Expand Forum to Full Width