Closed Bug 288477 Opened 20 years ago Closed 20 years ago

bad behaviour using <br /> inside of <li> tags

Categories

(Firefox :: General, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: rolandersky, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Win98; fr-FR; rv:1.7.6) Gecko/20050226 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Win98; fr-FR; rv:1.7.6) Gecko/20050226 Firefox/1.0.1

In the page http://www.geocities.com/rolandersky/index.html (my home page), each
element of the list should have a vertical space between them. With Internet
Explorer v. 6.0.2800.1106, the elements are spaced. With Mozilla, only the first
element of the list is separated.



Reproducible: Always

Steps to Reproduce:
1.Insert the following code in the body of an html page
<ul>
   <li>Programmation d'applications Web utilisant php et mysql<br /><br />
   </li>
   <li>Conception de sites Web en XHTML ou Flash, CSS<br /><br />
   </li>
   <li>Programmation orient&eacute;e objets en C++ ou Java<br /><br />
   </li>  
   <li>D&eacute;pannage d'ordinateurs</li>
</ul> 
2. test-it with Mozilla
3. test-it with Internet Explorer

Actual Results:  
The first element of the list is vertically spaced. The 3 others elements are
not spaced.

Expected Results:  
All the 4 elements of the list should be vertically spaced.

I cannot put <br /> outside of the <li> tag because my page won't validate with
the XHTML 1.0 Transitional DTD. I tried the www.w3c.org validator.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050330
Firefox/1.0+
The 4 bullet points are all equally spaced for me. The same in IE6.0.
(In reply to comment #1)

It's not a bug ! I cleared the cache and its ok. Next time I will be more
professionnal. I  feared that clearing the cache will stop my download of 650 Mo
Ubuntu Linux. Sorry for the inconvenients.

> Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050330
> Firefox/1.0+
> The 4 bullet points are all equally spaced for me. The same in IE6.0.
> 
> In the page http://www.geocities.com/rolandersky/index.html (my home page), each
> element of the list should have a vertical space between them. With Internet
> Explorer v. 6.0.2800.1106, the elements are spaced. With Mozilla, only the first
> element of the list is separated.
> 
> 
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1.Insert the following code in the body of an html page
> <ul>
>    <li>Programmation d'applications Web utilisant php et mysql<br /><br />
>    </li>
>    <li>Conception de sites Web en XHTML ou Flash, CSS<br /><br />
>    </li>
>    <li>Programmation orient&eacute;e objets en C++ ou Java<br /><br />
>    </li>  
>    <li>D&eacute;pannage d'ordinateurs</li>
> </ul> 
> 2. test-it with Mozilla
> 3. test-it with Internet Explorer
> 
> Actual Results:  
> The first element of the list is vertically spaced. The 3 others elements are
> not spaced.
> 
> Expected Results:  
> All the 4 elements of the list should be vertically spaced.
> 
> I cannot put <br /> outside of the <li> tag because my page won't validate with
> the XHTML 1.0 Transitional DTD. I tried the www.w3c.org validator.

(In reply to comment #1)
> Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050330
> Firefox/1.0+
> The 4 bullet points are all equally spaced for me. The same in IE6.0.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.