Displaying a nested unordered list

I have a Flash page that goes out and reads an XML file, then displays the information in it.  Most of the time, it works great.  However, when it comes to nested lists, it doesn't work.  I am using CDATA so that I can use HTML code to display the information as intended.  But Flash absolutely refuses to display a nested list correctly.  For example, if I put in there <ul><li>item 1 <ul><li>subbullet 1</li><li>subbullet 2</li></ul></li></ul>, it displays everything as if I had made each of them individual list items under one master <ul></ul>.
There's got to be a way to get Flash to understand and display a nested list.  It's a simple thing to do, I know it.   I just can't figure it out.  Does anyone else know?

As found on the flex community blog: (http://blog.flexcommunity.net/?p=38)
"Ordered and unordered lists (<ol> and <ul> tags) are not recognized by Flash Player, so they do not modify how your list is rendered. All list items use bullets."
This means that you will need to do that formatting yourself to get it to look correct.  Take a look at the textformat tag that Flash uses, which will allow you to play around with the padding to get the effect you want.

Similar Messages

  • Validating an unordered list navigation

    Hi.
    My website isn't validating because of this error (repeated a few times on every page).
    Can anyone help me fix it please.
    Thank you very much
          <li><a href="../legislation/index.html">Legislation</a></li>

    The mentioned element is not allowed to appear in the context in which       you've placed it; the other mentioned elements are the only ones that       are both allowed there and can contain the element mentioned.       This might mean that you need a containing element, or possibly that       you've forgotten to close a previous element.
    One possible cause for this message is that you have attempted to put a       block-level element (such as "<p>" or "<table>") inside an       inline element (such as "<a>", "<span>", or "<font>").

    im thinking it might be because i have an unordered list with a nested unordered list inside it.
    would something like this cause validation problems?
    <ul>
    <li><a href="www.widget.com">LIST ITEM</a></li>
    <li><a href="www.widget.com">LIST ITEM</a></li>
    <ul>
    <li><a href="www.widget.com">LIST ITEM</a></li>
    <li><a href="www.widget.com">LIST ITEM</a></li>
    <li><a href="www.widget.com">LIST ITEM</a></li>
    <li><a href="www.widget.com">LIST ITEM</a></li>
    <li><a href="www.widget.com">LIST ITEM</a></li>
    </ul>
    <li><a href="www.widget.com">LIST ITEM</a></li>
    <li><a href="www.widget.com">LIST ITEM</a></li>
    <li><a href="www.widget.com">LIST ITEM</a></li>
    </ul>
    Thank you in advance,

  • JTextPane ordered-list, unordered-list

    Hi
    I am using RTFEditorKit and want to implement " ordered-list, unordered-list " in a JTextPane. Does anyone has some solution to this?
    Thanx
    Hamza

    Start a new, blank HTML page. Put your lists on it. Are they
    behaving as
    expected? If so, and I suspect that it's so, then it's
    something else on
    your original page. Can we see it?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "synchronised" <[email protected]> wrote in
    message
    news:gmhvop$ghi$[email protected]..
    >I have endeavoured to use both the ordered and unordered
    list in CS4 and in
    > both cases it does not indent as expected. The bullet
    point or number is
    > left
    > hanging off the left of the page and the text lies right
    next to the
    > left-hand
    > margin.
    >
    > I have checked out the Preferences - Code Format and
    this is set up and
    > the
    > indent box is checked with 2 spaces.
    >
    > I have used this facility in the past and used a nested
    unordered list!
    >
    > Can anyone help with this problem or point me in a
    particular direction,
    > please?
    >
    > David
    >

  • Unordered list displayed horizontally

    Hello,
    I am really new to Dreamweaver and I tried to complete (succesfully) the video on how to build my first website.
    Following the instruction was not so complicate...
    I tried to do pretty much alone the same focusing in creating the button from an unordered list
    I did with no CSS file, I created a new one empty. I am able to remove the bullet point, align the list but I can not display the button horizontally and I do not understand why.
    This is what I did:
    create a Navigation  (id= buttons)
    create an unordered list
    create a CSS file empty
    add a selection #buttons ul where I deleted bullet point and aligned the list
    add a selection #buttons a here I have problems. I apply with 25% (4 buttons) and set the float option to the left but the list remains vertical
    What I do wrong???? It seems I am doing like in the video. Is maybe related to the CSS file? Is not correct doing that with an empty one?
    Thanks for any help

    Hello, thanks for your answer. Of course it is working, but still I do not get why is not working mine.
    here it is the html
    <!doctype html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>Home</title>
    <link href="styles/main copy 2.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <nav id="navbar">
      <ul>
        <li>Home</li>
        <li>Products</li>
        <li>Services</li>
        <li>Contacts</li>
      </ul>
    </nav>
    </body>
    </html>
    and here the CSS
    #navbar ul {
              list-style-type: none;
              margin-top: 0px;
              margin-right: 0px;
              margin-bottom: 0px;
              margin-left: 0px;
              padding-top: 0px;
              padding-right: 0px;
              padding-bottom: 0px;
              padding-left: 0px;
    #navbar a {
              width: 25%;
              display: block;
              float: left;

  • Trouble displaying A drop down list in Contribute

    I am having trouble with a client that has downloaded Contribute onto their windows computer. The page in question contains a drop-down  nav- bar which I coded using CSS. I have had the page certified by W3 CSS and the html also went through at 100%. It displays perfectly in all browsers and also in my version of Contribute 6.5. My client is also running the same version of Contribute, however the drop-down menu won't render properly in their version of contribute unless they try to edit the page. This is a problem because they rely on the navigation bar to navigate the site for editing. On their version of contribute the navigation bar appears as a lengthy unordered list instead of a smooth drop-down list which appears on all other browsers and versions of Contribute. I have changed the name of the CSS file and its location several times. This hasn't solved the issue. Any suggestions please???

    Hi Dominic,
         Thanks for showing interest.
    I spoke to Adobe staff today who were very helpful. They put it down to a bad installation of Contribute. I have suggested to the client to clear the cache and reinstall Contribute tomorrow morning. IE is working fine on my clients machine and shows the page correctly. I will keep you posted on how it goes.
    This is how it displays on the same version of Adobe Contribute on my Mac and all browsers.

  • Ordered and Unordered Lists viewed in WYSIWYG Editor in RoboHelp 10

    I recently upgraded a project from RH 9 (9.0.2.271) to RH 10 (10.0.0.287). Ordered and unordered lists display in the WYSIWYG Editor with more spacing around each line. When I generate the output to HTML Help, the spacing looks fine. I also tested generating output to WebHelp, and again, the output looks fine.
    I have paragraph and list styles defined in my style sheet that I apply to the text in the topic. I also looked at the styles in RH 10 and Media is set to "None."
    Using the Style Pod, I looked at the set up of the parapgraph and list styles. For those styles, (and my body text styles - which look fine in the WYSIWYG Editor) have spacing before and after spacing set. (NOTE: These styles were created in RH8 and the WYSIWYG Editor displayed the styles appropriately in RH8 and RH9.) Even though I changed the style sheet, the WYSIWYG Editor is still displaying more space around the styles then I am expecting.
    I know this is not a huge issue since the output looks fine, but I want to understand why the WYSIWYG Editor isn't working as I expect. I would like the editor to display with correct spacing.
    I attached a few screen captures showing what I see.
    HTML Help Output
    Thanks in advance for your help.

    I suspect part of the issue is that your list styles have spacing above and below and then you have applied paragraph styles that also have spacing above and below.
    Using both is OK and is how I work. However, I do not have any spacing above and below in my list styles. I rely on the paragraph style for that. It looks like Rh's Design Editor is applying both but browsers are not.
    It is still not quite the same in a browser as in Design Editor but it is much closer. There will also be browser differences anyway so it's a case of getting some balance.
    Try removing the before and after spacing in the list style. Alternatively, if you do not generate printed documentation then rely on the list style only. (Select the lists in a topic and set paragraph to None).
    Let us know if that is close enough.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Problem with One column Unordered list.

    Help me out !!!
    I have a "one column unordered list" as my report template. The query will return atleast 5 rows at any given point of time. The page shows only 3 records. I tried modifying "Number of Rows" attributes etc., nothing works.
    Let me know what I'm doing wrong or how to fix it.
    Thanks
    - Richard

    Thanks for replying, Scott
    Here is the app http://htmldb.oracle.com/pls/otn/f?p=19793:1
    I want to display only 4 rows (table has around 10 rows). I couldn't display more than 2. If I change the template, then everything works fine. Its just with the "One Column Unordered List" template that is not working.
    Thanks.
    - Richard.

  • Trouble centering an unordered list menu inside a div

    Hello,
    I have an unordered list menu that is giving me a fit. I can't seem to figure out how to center it in the div. Structure is like this:
    <div id="first-nav">
    <ul>
    <li>one</li>
    <li>two</li>
    <li>three</li>
    <li>four</li>
    <li>five</li>
    </ul>
    </div>
    In my css I have:
    #first-nav{width:100%; text-align:center;}
    It's not moving the UL to the center of the div. Link Here http://skeeterz71.com/gothic/
    I'm at a loss of what to do. Any help is appreciated.
    Thanks

    I figured it out. I forgot to set mu UL to display: inline-block;
    It is always something simple and this time in the morning, easy to overlook:)

  • Unordered list not showing up as indented bullet points within Accordian

    http://www.foundationforyoutharts.org/test/Programs.html
    I have a page using the spry accordian, and about five different catagories of information. Some of the copy is in unordered lists (in martial arts catagories), but it shows up as as regular text. Any ideas on how to make it view as a typical unordered list with bullet points and indented?
    Thanks for taking time to look at this.

    Add a margin-left of 20px to your ul.
    Either added it in your stylesheet. or directly on the element:
    <ul style="margin-left:20px">

  • Display sales orders due list in a week

    hi , i want to display sales orders due list in a week
    what are the tables need to be referred?
    Rgds
    Umakanth
    Edited by: Alvaro Tejada Galindo on Feb 21, 2008 5:06 PM

    Hi,
    The following is a list of Sales & Distribution tables :
    VBBE Sales Requirements: Individual Records
    VBEH Schedule line history
    VBEP Sales Document: Schedule Line Data
    VBFA Sales Document Flow
    VBLB Sales document: Release order data
    KONV Conditions for Transaction Data 
    KONP Conditions for Items 
    LIKP Delivery Header Data
    LIPS Delivery: Item data
    VBAK Sales Document: Header Data
    VBAP Sales Document: Item Data
    VBLK SD Document: Delivery Note Header
    VBPA Sales Document: Partner
    VBRK Billing: Header Data
    VBRP Billing: Item Data
    VBUK Sales Document: Header Status and
    Administrative Data
    VBUP Sales Document: Item Status
    VEKP Handling Unit - Header Table
    VEPO Packing: Handling Unit Item (Contents)
    VEPVG Delivery Due Index.
    Hope this might help you.
    Regards,
    Kaveri.

  • Reading text file and display in the selectOnechoice list item In ADF.

    Hi,
    I have a requirement to read the text field which have list of strings and that string display in the SelectOneChoice List item component on page load.
    I am using Jdeveloper 11.1.2.3 version.
    Any suggestion will highly appreciated..
    Thanks in advance.
    Regards

    Hi,
    Google will produce you with hints on how to read content of a file from Java (ideally the file uses some delimiter). Then in a managed bean, you read the file and save its content in a list of SelectItem. So your managed bean should have the following property and setter/getter pairs
    ArrayList<SelectItem> listFromFile = new ArrayList<SelectItem>();
    public void setListFromFile(ArrayList l){ //you don't need this }
    public ArrayList<SelectItem> getListFromFile(){
       //read file content and iterate over the file list entries
      for(i=0, i < fileContent.length, ++i){
         SelectItem si = new SelectItem();
         si.setValue(... the value to update the list of value with ...);
         si.setLabel("... the label to show in the list ...");
         listFromFile.add(si);
      return listFromFile;
    }The af:selectOneChoice component should look as follows
    <af:selectOneChoice id=".." value="...attribute to update with selection ..." ...>
       <f:selectItems value="#{managedBean.listFromFile}"/>
    </af:selectOneChoice>Frank

  • How do I create an unordered list with three items and link to id's

    How do I create an ordered list with three items and linl to id's on my page

    Thanks, I guess what I was really asking, Is there a n option in the insert menu or somewhere where Dreamweaver does it for you.
    I am not clear on what you are wanting DW to do for you?  Is it that you want it to insert a three item unordered list?  No - there's no such function.  You would need to click in Design view where you want the list to go, click on the bulleted list icon on the Property inspector, and then enter the three items separated by carriage returns.  Then you'd have to link each item specifically.
    To enter the named anchors to element ID values, CS5 has no way to do this.  You'd have to enter those links manually.

  • Unordered list not printing correctly

    I created a heading 3 followed immediately by an unordered
    list. However, when I print the webpage out, I see the heading 3
    fine and then the 1st bullet appears where it should but the text
    for the first bullet begins several lines down the page. All the
    other bullets are thus pushed down as well but the spacing for the
    remaining bullets is fine. It's just that the text for the first
    bullet begins way down the page. Everything looks OK in the
    browser; just when printed is the problem.
    Here is the process I followed. Selected heading 3 on the
    property inspector and typed my heading. Then went to
    insert-->html-->text objects-->unordered list and began
    typing in the info for each bullet
    My code is below. Please help.
    <h3>Deposit Ticket Request</h3>
    <ul>
    <li>Deposit tickets will be paid for by Treasury
    Operations provided they are ordered through our department and not
    ordered as a RUSH</li>
    <li>If a RUSH is requested it will be the
    responsibility of the department to cover all charges for the
    deposit tickets</li>
    <li>Please allow 3-4 weeks for the deposit tickets to
    arrive once they are ordered</li>
    <li>Whenever a deposit is made, a deposit ticket MUST
    be included, regardless of the amount, or the type of
    deposit</li>
    <li>The deposit tickets will be either a two or three
    part ticket</li>
    </ul>

    .oO(Johnny the boy)
    >Thanks for the reply Micha
    >
    > It appears the problem occurs in I.E. but is just fine
    when printing in Firefox
    >
    > the site address to the page in question is
    >
    http://www.indiana.edu/~iutreas/test/forms/bankingdepositticketrequest.html
    It's most likely an IE issue with floats. I already get this
    effect in
    the normal browser view - the form is pushed down after the
    left-side
    "New Items" box. The print preview looks even worse as
    described.
    Actually I don't have a quick solution at hand. A while ago I
    had a
    similar problem on one of my sites, but can't remember what I
    did to
    solve it ... In many cases it's enough to simply apply a
    height: 1% or
    zoom: 1
    to the floated element to get the rendering right in IE. You
    just have
    to make sure that only IE sees these hacks. Conditional
    comments are
    really helpful for that.
    Micha

  • Unordered list bullets and Spry Accordion widget

    In all browsers except IE (surprise, surprise!), the page
    works fine. Otherwise the bullets in my unordered list appear at
    the bottom of the multiline text they are associated with. I
    haven't had this problem in similar pages not using the accordion
    widget.
    Please have a look:
    http://www.yale.edu/faith/rc-fwl.htm
    vs.
    http://www.yale.edu/faith/rc-esw.htm
    Thanks,
    Gary

    <div class="AccordionPanelContent">Castaway the: Restaurant<br />
                  1250 Harvard Rd.<br />
                  Burbank, CA 91501<br />
                  - www.castawayrestaurant.com - (818) 848-6691</p>
    Oops!
    Missing the opening <p>
    I didn't find it, the validator did.
    Martin

  • Rounded corners on unordered list

    I'd like to be able to have style my vertical menu, made with
    an
    unordered list, to have rounded corners. The menu is a fixed
    width, but
    the items could sometimes run onto two lines, so the height
    of each item
    needs to be flexible.
    I created images called top.gif and bottom.gif for the curves
    and when
    I've done boxes I've made the bottom image a background to
    the box div
    tag and the top image a background to the heading tag within
    the div.
    However with the unordered list I don't really have two
    elements to
    attach the images to, if you understand what I mean?
    I've been googling but haven't yet found a solution. Can
    anyone
    recommend a way of doing this?
    Thanks
    Vix

    > I've been googling but haven't yet found a solution. Can
    anyone recommend
    > a way of doing this?
    Could could wrap the UL in a DIV, giving you two elements.
    You could give the first LI and last LI custom classes,
    giving you to
    elements.
    While not pristine, I often will use wrapper divs to attach
    CSS too:
    <div id="menuOuterwrapper">
    <div id="innnerWrapper">
    <ul>...</ul>
    </div></div>
    That works for me in that it keeps my 'style HTML' separate
    from my 'content
    HTML'.
    A goofy interpretation of 'separation of style and content',
    perhaps.
    -Darrel

Maybe you are looking for

  • Macbook Pro & Sony Trinitron Monitor

    I have both. Now how do I link them up? Kind Regards Dean Whiston

  • Deadline Not Triggering

    Hi Folks, I have done every setting in Swu3 and initally deadline for work flows use to trigger, But however for a strange reason they stopped Trigerring deadlines. please help me in trigerring the deadline since there are some work items need to go

  • How to add audio to individual slides?

    According to the Keynote User Guide 2009, on page 70, it is possible to add a sound file to an individual file so that the sound stops when you go to the next slide and you can use a different sound file. What I want to do is use three or four songs

  • Automate Outlook export process

    Hi there. I'm looking for a way to automate the built-in export files to PST function in outlook (2010) I've got multiple pst archives per user (thanks to previous sysadmin), all with sub-folders and I need to keep the folder structures but extract a

  • Document Stability?  |  MANY pages?

    I'm working on an annual catalog that is appx 600 pages, 8.5 x 11. Right now, it's sectioned out as 20 different indesign files. I would like to combine all of them to standardize the styles, links, master pages etc. Each page has about 5 graphics, a