weird thing going on with checkboxlist, the name is under the checkbox

Posted on 2008-11-15
Last Modified: 2012-05-05
I have the following:
     <asp:CheckBoxList ID="cblMusic" runat="server" CellPadding="2" CellSpacing="2">

it is populated and binding with information from an xml file.
 protected void BindCheckBoxList()
        // Populate Music List
        DataSet DSMusic = new DataSet();
        cblMusic.DataSource = DSMusic;
        cblMusic.DataTextField = "name";
        cblMusic.DataValueField = "musicid";
        cblMusic.RepeatColumns = 5;
        cblMusic.RepeatDirection = RepeatDirection.Horizontal;


There is some weird thing going on.
See the attached image for better view.
Question by:mathieu_cupryk
    LVL 30

    Accepted Solution

    you have some items which has very long description. either you make it 4 columns (instead of 5) or make the font-size smaller.

    Author Comment


    #content-container label

    /*      display:block;*/

    check in firefox for css issues.
    it is easy with firefox

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
    In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now