martedì 19 febbraio 2013

InLine BulletList

If you need to have Inline Bullet List and not vertical and with a custom bullet, you can do as shown here:
This is the code you have to put in .aspx page:

<asp:BulletedList ID="your_bullet_id" runat="server" ></asp:BulletedList>

and here teh code per CSS stylesheet:

li
{
    display: inline;
    padding-left: 15px;
    background: url(path_of_your_custom_bullet_image) no-repeat;   
}

My Two Cents ...

Nessun commento:

Posta un commento