Hi,
In the following code:
<UL STYLE="border: 2px solid #F00000;">
<LI STYLE="border: 1px solid #00F000;">item 1</LI>
<LI STYLE="border: 1px solid #00F000;">item 2</LI>
<LI STYLE="border: 1px solid #00F000;">item 3</LI>
</UL>
The red border clearly surounds the whole list, including the LI
elements, which looks correct to me,
but if I declare the LI elements float:left , they do not appear
included inside the UL border anymore:
<UL STYLE="border: 2px solid #F00000;">
<LI STYLE="border: 1px solid #00F000;float:left;">item 1</LI>
<LI STYLE="border: 1px solid #00F000;float:left;">item 2</LI>
<LI STYLE="border: 1px solid #00F000;float:left;">item 3</LI>
</UL>
This happens in both IE and FireFox.
Is it normal Doc?