IT.COM

HTML: More than 1 space!

Spaceship Spaceship
Watch
HTML seems to limit you to using 1 space, even when you put more than 1 in the code!

Though I know not why, this is the way to put more than one space:

& nbsp;

REMOVE THE SPACE BETWEEN THE "&" and the "nbsp;"!!!!

I put a space between the & and the nbsp so that your browser doesn't think of it as a space. Remove those, and place them how you like and each one will make an (unrestricted) space!

(So far the only browser I know where this doesn't work is Netscape 1.0)

NOTE: This also works in these forums so you can have more than one space!!! ;)

Here is the code in action:

Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Far out
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Yeah I just experienced using that the other day when helping a friend. It's useful :D
 
0
•••
Frontpage, and other wysiwyg editors used this function alot...
 
0
•••
ya there are a bunch of cool little thing that start with &
 
0
•••
Here's another useful one &copy ;

Β©

and another &quot ;

"

:D

:webdev:
 
0
•••
however my personal favorite is: & frac12;

Β½
 
0
•••
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back