PDA

View Full Version : HTML: <br> in a <li> not working right


Jerry62712
09-25-2009, 06:10 PM
Within my application I have a container that has the html combination <ul><li>xxx</li><li>yyy<br>zzz</li></ul>

I expected to see
*xxx
*yyy
zzz

The second half of "yyyzzz" being below "yyy". What I got was this
*xxx
*yyy
*zzz
where the line break was treated as a new <li> pair. How do I get to break it so the break isn't treated as a new <li> pair?

CyanBlue
09-30-2009, 08:16 PM
I don't think Flash supports multiline on LI tag...

Jerry62712
10-05-2009, 01:26 PM
I don't think Flash supports multiline on LI tag...

I'm afraid you are right. It seems a shame to break it into multiple fields, especially when that entails a lot of programming to accommodate language switching.

Any idea of Flex4 deals with this?

Peter Cowling
10-05-2009, 04:04 PM
An initial observation what is '<br>'? That's malformed, is it not?