Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > BulletedList and Unordered List - no bullets are displayed

Reply
Thread Tools

BulletedList and Unordered List - no bullets are displayed

 
 
ssg31415926
Guest
Posts: n/a
 
      09-21-2006
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?

 
Reply With Quote
 
 
 
 
ssg31415926
Guest
Posts: n/a
 
      09-21-2006
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?


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Build unordered list in HTML from a python list Nico Grubert Python 0 06-30-2010 08:34 AM
BulletedList inside BulletedList Stan SR ASP .Net 2 08-31-2006 05:36 AM
BulletedList control not showing bullets? Rob R. Ainscough ASP .Net Web Controls 1 05-23-2006 09:11 PM
how to transform a list form of hyphens to an html unordered list ibiza ASP .Net 5 02-09-2006 04:10 PM
html unordered list bullets? jmcckz NZ Computing 2 10-07-2004 12:38 AM



Advertisments