I have multiple lignes of &nbsp on Html pages Why ?

G

Guest

When I use Space or Tab in design I get multiple lignes of &nbsp in the HTML
page . Why is that ? And what should I do to eliminate thoses &nbsp ? Thank
you
 
R

Ronx

To eliminate the   do not use the space bar or tab key to align
objects. An   is created whenever you press the space bar immediately
after a space character.
To align objects, including text, use the left, centre, right buttons in the
toolbar, or use tables or divs to layout the page.
 
K

Kevin Spencer

Don't use the Space or Tab in design.

What are you using spaces and tabs for? If you're using them for
positioning, this is not a good idea. Remember that this is HTML we're
talking about, not a text document.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
 
A

Andrew Murray

You're putting them there every time you hit the space bar - &nbsp is the
html code for a "space".....do not use the space bar for layout of your
page, use tables.
 

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

Top