Re: Missing space

On Sat, 21 Dec 2002 17:35:22 -0000
"Jose Carlos Santos" <jcsantos@fc.up.pt> wrote:

> 
> > Hi José Carlos / Hola José Carlos
> > 
> > I don't believe that that effect is a " bug ", simply, how sense has that
> > the space is marked as <strong>?
> 
> If I type <strong>a b</strong> then I get a space between "a" and "b".
> Why don't I get a space when I put a space just before </strong>?
> 
> > If you put the code in the following way you will obtain the wanted result:
> > <p><strong>Note:</strong> Note.</p>
> > And I believe that that is the correct form of making it, because the space
> > in any case will be something as important as to go marked as <strong>
> 
> I do not see why this form is more correct than the one that I have posted.
> I also do not understand why do you say that, in your suggestion, the space
> "will be something as important as to go marked as <strong>". Finally,
> and the most important aspect of this, according to the HTML rules the
> space should appear.

Emamanuelle is right. As long as there is no indication for preserving spaces, 
spaces and new lines just after the start tag and just before the end tag are ignored.
So "<strong>     a and b      </strong>" is equivalent to "<strong>a and b</strong>".

In your case you have to put the space after the end tag.

Happy new year
-- 
     Irene.

Received on Thursday, 2 January 2003 05:47:37 UTC