I think it is the <p> tags around the <li> text that is causing your problem. It is not unusual for a <p> tag to generate a new line at the display level. What is correct behaviour in this case I have no idea - I suspect it is implementation defined.
|