Ninjakreborn Posted July 25, 2006 Share Posted July 25, 2006 [code] [/code]This is something I have known for awhile, it helps me a lot, it does a lot for me. When there is an element that continues to disappear when I leave nothing in it, for instance a colored block, this fills it with something making it visible, when I need to quickly indent text, this indents it for me, it has a lot of other nifty uses. What I want to know is, what is it. This whole time I saw it on some people's pages, I used it ever since, without really ever knowing what it is, what to call it, what it's true purpose is, if it was deprecated or not, or what. I was wondering about this because it's been my friend for awhile, and it's time I found out who he was. S hould I stop using this or does everyone, is it deprecated, what is it exactly, can it be found on wikipedia somewhere if I figured out the name. Quote Link to comment https://forums.phpfreaks.com/topic/15584-generalistic-question-about-blank-spacers-in-html/ Share on other sites More sharing options...
AndyB Posted July 25, 2006 Share Posted July 25, 2006 n b s p = non-breaking space Quote Link to comment https://forums.phpfreaks.com/topic/15584-generalistic-question-about-blank-spacers-in-html/#findComment-63381 Share on other sites More sharing options...
wildteen88 Posted July 25, 2006 Share Posted July 25, 2006 is the htmlentity (ASCII, i think) of a space. This is not depreciated. All characters has an ASCII equivilant. Most people use to add in two or more spaces between words, as using a normal space will only work with 1 space, but not if there is 2 or more spaces directly after each other, as the browser ignores it.[url=http://www.lookuptables.com/]This[/url] site shows all the ASCII values for most characters, look at the HTML coloumn for the last three columns. Quote Link to comment https://forums.phpfreaks.com/topic/15584-generalistic-question-about-blank-spacers-in-html/#findComment-63384 Share on other sites More sharing options...
Ninjakreborn Posted July 25, 2006 Author Share Posted July 25, 2006 Ok, I have seen this before but it's a little new. As far as generalistically speaking, what would happen, if I started replacing every letter of every sentence with these, like in my text, because there is one for each letter, and number as well, is this good practice, I have never seen it used before, I also see some people just replace'.,;/] or whatever symbols with those, but some people don't I never havewhat is the best route for me to take with this ascii characters? Quote Link to comment https://forums.phpfreaks.com/topic/15584-generalistic-question-about-blank-spacers-in-html/#findComment-63386 Share on other sites More sharing options...
AndyB Posted July 25, 2006 Share Posted July 25, 2006 [quote author=businessman332211 link=topic=101795.msg403168#msg403168 date=1153836159]generalistically speaking, what would happen, if I started replacing every letter of every sentence with these...[/quote]'Generalistically' (or generally as most people would say), anyone viewing your code would think you were nuts.I'd use ASCII equivalents only for symbols/special characters such as copyright, ampersand, pound, octothorpe, em-dash, en-dash, etc. etc. Quote Link to comment https://forums.phpfreaks.com/topic/15584-generalistic-question-about-blank-spacers-in-html/#findComment-63390 Share on other sites More sharing options...
wildteen88 Posted July 25, 2006 Share Posted July 25, 2006 You should only need to use the htmlentity for certain characters, such as triangler brackets (<>) to stop the browser from intepreting them, for placing two or more spaces between words/letters. © to display the copyright symbol etc. You shouldn't use the ASCII value for letters, as there will be no reason to. Quote Link to comment https://forums.phpfreaks.com/topic/15584-generalistic-question-about-blank-spacers-in-html/#findComment-63402 Share on other sites More sharing options...
Ninjakreborn Posted July 25, 2006 Author Share Posted July 25, 2006 ah, thanks for the information/advice/grammer correction. From now on I will say generally speaking. Thanks for all the advice, and thanks for all the info on those different character types i am going to look up all those you mentioned andy, and see what they all mean, some of those i have never heard before. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/15584-generalistic-question-about-blank-spacers-in-html/#findComment-63409 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.