Link to home
Start Free TrialLog in
Avatar of mathieu_cupryk
mathieu_cuprykFlag for Canada

asked on

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

I have the following:
     <asp:CheckBoxList ID="cblMusic" runat="server" CellPadding="2" CellSpacing="2">
                                    </asp:CheckBoxList>

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

    }

There is some weird thing going on.
See the attached image for better view.
15-11-2008-3-35-26-AM.png
ASKER CERTIFIED SOLUTION
Avatar of third
third
Flag of Philippines image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mathieu_cupryk

ASKER


#content-container label
{

/*      display:block;*/
     padding-top:8px;
}

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