BulletedList and Unordered List - no bullets are displayed

Discussion in 'ASP .Net Web Controls' started by ssg31415926, Sep 21, 2006.

  1. ssg31415926

    ssg31415926 Guest

    I'm trying to put together a page in ASP.NET 2.0. I need a couple of
    bulleted lists. I've tried the asp:BulletedList web control and a UL
    and neither shows any bullets. This is my code:

    <asp:BulletedList ID="uxAccessBulletedList" runat="server"
    Style="z-index: 102; left: 20px; position: absolute; top: 127px;
    text-align:justify;" BulletStyle="Circle" Width="317px"
    DisplayMode="Text">
    <asp:ListItem>Name</asp:ListItem>
    <asp:ListItem>Branch</asp:ListItem>
    <asp:ListItem>Dept</asp:ListItem>
    <asp:ListItem>Site</asp:ListItem>
    </asp:BulletedList>
    and:
    <ul style="position: absolute; left: 20px; top:265px; width: 317px;
    text-align:justify; list-style-position: outside; list-style-type:
    disc">
    <li><b>branch</b> - contact your Branch Systems Operator</li>
    <li><b>office</b> - contact the Network Mgmt Helpdesk</li>
    <li><b>HO</b> - contact the Computing Helpdesk.</li>
    </ul>

    Both sit inside a table with this definition:
    <table style="z-index: 103; position: relative;
    border-style:none;">
    <tr valign="top">
    <td style="width: 400px; height: 360px">

    Can anyone see what I'm doing wrong?
    ssg31415926, Sep 21, 2006
    #1
    1. Advertising

  2. ssg31415926

    ssg31415926 Guest

    It seems the problem is with IE - (i'm using v6) - although Firefox
    mangled the output, the bullets were visible. I found some pointers to
    this elsewhere and started my investigations with the UL. The problem
    seems to be with using certain style attributes
    position:absolute seemed to cause problems, whereas position:relative
    was okay. The presence of the width option also caused problems. I
    didn't investigate any further.

    ssg31415926 wrote:
    > I'm trying to put together a page in ASP.NET 2.0. I need a couple of
    > bulleted lists. I've tried the asp:BulletedList web control and a UL
    > and neither shows any bullets. This is my code:
    >
    > <asp:BulletedList ID="uxAccessBulletedList" runat="server"
    > Style="z-index: 102; left: 20px; position: absolute; top: 127px;
    > text-align:justify;" BulletStyle="Circle" Width="317px"
    > DisplayMode="Text">
    > <asp:ListItem>Name</asp:ListItem>
    > <asp:ListItem>Branch</asp:ListItem>
    > <asp:ListItem>Dept</asp:ListItem>
    > <asp:ListItem>Site</asp:ListItem>
    > </asp:BulletedList>
    > and:
    > <ul style="position: absolute; left: 20px; top:265px; width: 317px;
    > text-align:justify; list-style-position: outside; list-style-type:
    > disc">
    > <li><b>branch</b> - contact your Branch Systems Operator</li>
    > <li><b>office</b> - contact the Network Mgmt Helpdesk</li>
    > <li><b>HO</b> - contact the Computing Helpdesk.</li>
    > </ul>
    >
    > Both sit inside a table with this definition:
    > <table style="z-index: 103; position: relative;
    > border-style:none;">
    > <tr valign="top">
    > <td style="width: 400px; height: 360px">
    >
    > Can anyone see what I'm doing wrong?
    ssg31415926, Sep 21, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ibiza
    Replies:
    5
    Views:
    1,154
    S. Justin Gengo [MCP]
    Feb 9, 2006
  2. Stan SR

    BulletedList inside BulletedList

    Stan SR, Aug 31, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    2,862
    Stan SR
    Aug 31, 2006
  3. Paul Lautman

    List item bullets

    Paul Lautman, Dec 28, 2006, in forum: HTML
    Replies:
    15
    Views:
    802
    Jonathan N. Little
    Dec 31, 2006
  4. Nico Grubert
    Replies:
    0
    Views:
    282
    Nico Grubert
    Jun 30, 2010
  5. Rob R. Ainscough

    BulletedList control not showing bullets?

    Rob R. Ainscough, May 23, 2006, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    280
    Rob R. Ainscough
    May 23, 2006
Loading...

Share This Page