mathieu_cupryk
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.Map Path("~/xm ldata/Inte rests/Musi c.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
<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.Map
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
#content-container label
{
/* display:block;*/
padding-top:8px;
}
check in firefox for css issues.
it is easy with firefox