-
Problem with linebreaks in <LI> tag...
It seems any type of linebreak within an <LI> tag create an extra bullet, is there any way around this??
The following examples all produce 2 bullets when they should only show one...
Code:
_txt.htmlText = "<li>Hello<br />There...</li>";
_txt.htmlText = "<li>Hello /n There...</li>";
_txt.htmlText = "<li>Hello /r There...</li>";
_txt.htmlText = "<li><p>Hello</p> <p>There...</p></li>";
Flash Player 9, AS 2.0
-
try puttin <UL></UL> before and after your text.. example..
_txt.htmlText = "<ul><li>Hello<br />There...</li></ul>";
the <ul> tag only has to go before and after your entire <li> tages example...
_txt.htmlText = "<ul>";
_txt.htmlText = "<li>Hello<br />There...</li>";
_txt.htmlText = "<li>Hello /n There...</li>";
_txt.htmlText = "<li>Hello /r There...</li>";
_txt.htmlText = "<li><p>Hello</p> <p>There...</p></li>";
_txt.htmlText = "</ul>";
hope this works/helps...
-
Sorry man, didn't see this reply.
Nah that doesn't work, as far as I can tell Flash doesn't even support the <UL> tag, it could care less whether it's there or not...
-
this should do it:
_txt.htmlText = "<li>" + "some text here"+"<br>"+"text after linebreak."+"</li>";
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|