Problrm with CheckBox Control

S

Sara T.

When I use CheckBox as a webcontrol (Server Control), I found that I cannot
set it to left
align.

Like this:

This is a label
[x] This is my check box

I need to see CheckBox on the position "T"

But if I use HTML control, it's ok.

How can I do ?
 
S

Sara T.

Thanks a lot foy your replying
Following is my code:

<asp:Label id="Label2" runat="server">Label</asp:Label>
<br>
<asp:CheckBox id="CheckBox2" runat="server" Text="This is
checkbox"></asp:CheckBox>
<br>
<asp:Label id="Label1" runat="server">Label</asp:Label>

I found that on the rectangle [] of checkbox is not the same position of
character "L"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top