char(160) -  

  • Thread starter Thread starter Biff
  • Start date Start date
B

Biff

Hi Folks!

This character is called a non-breaking space. What exactly does
non-breaking mean?

Thanks

Biff
 
An NBSP is used to prevent automatic line breaks, so a line like 'this is a
line with a non-breaking space' will never break between the 'with' and
the 'a'. IN HTML it is used to pad out with spaces, because a normal space
gets reduced to a single space.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
Biff said:
This character is called a non-breaking space. What exactly does
non-breaking mean?

Go to google.com and enter "define: non-breaking space" without the
quotes.
 
Thanks, Bob!

Biff

Bob Phillips said:
An NBSP is used to prevent automatic line breaks, so a line like 'this is
a
line with a non-breaking space' will never break between the 'with'
and
the 'a'. IN HTML it is used to pad out with spaces, because a normal space
gets reduced to a single space.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
And you can do the same kind of thing in MSWord.

Say you have a part number that has embedded spaces in it and you don't want the
line to break at one of those spaces, you can use ctrl-shift-spacebar and it'll
be a non-breaking space.

And same thing with hyphens. ctrl-shift-hyphen is that character.

Inside MSWord, Insert|SymbolSpecial characters if you forget.
 
Thanks, Dave!

Biff

Dave Peterson said:
And you can do the same kind of thing in MSWord.

Say you have a part number that has embedded spaces in it and you don't
want the
line to break at one of those spaces, you can use ctrl-shift-spacebar and
it'll
be a non-breaking space.

And same thing with hyphens. ctrl-shift-hyphen is that character.

Inside MSWord, Insert|SymbolSpecial characters if you forget.
 
FWIW,

Char(173) is a non-breaking hyphen.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
Biff said:
Thanks, Dave!

Biff
 
I had forgotten that, thanks for the memory jolt.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top