how do u do spaces in html??

weezergirl

Diamond Member
May 24, 2000
3,366
1
0
I always forget this and I can never find it online. it's like <&nspb> or something like that? anyone know what i'm talking about??
 

Viper GTS

Lifer
Oct 13, 1999
38,107
433
136
  is correct.

You do not, however, need the brackets. Just insert &nbsp whenever you want a space.

Viper GTS
 

kami

Lifer
Oct 9, 1999
17,627
5
81
&-nbsp: <---replace that colon with semicolon and remove the dash, fusetalk won't allow it. geez

non-breaking space.
 

Derango

Diamond Member
Jan 1, 2002
3,113
1
0


<< Whoa, how come my & nbsp gets replaced?

Minus the space obviously...

???

Viper GTS
>>



because the browser treats a & nbsp as a space. I don't think Fusetalk changes the & nsbp into a non HTML code type version, so the browser sees what it thinks should be a space
 

Zenmervolt

Elite member
Oct 22, 2000
24,514
44
91


<< what is the semicolon for? i just did it without and it works fine.... >>

Odd, I've always had to use <& nbsp ;> (without the spaces, obviously) to get a no break space. I'll have to try it without.

ZV
 

hx009

Senior member
Nov 26, 1999
989
0
0


<<

<< what is the semicolon for? i just did it without and it works fine.... >>

Odd, I've always had to use <& nbsp ;> (without the spaces, obviously) to get a no break space. I'll have to try it without.

ZV
>>



It works fine in what? Internet Explorer? IE is *VERY* forgiving about missing tags and improper syntax. The semicolon afterward is proper HTML spec, and if you don't do it, Netscape (at least older versions) might not output what you'd expect. Or Opera. Or old IE.

W3C Entity List