Want to add Checkbox List asp.net but not alignign correctly

Matt Lee 20 Reputation points
2024-10-10T12:57:33.08+00:00

I have a forms as described in this post

https://learn.microsoft.com/en-us/answers/questions/2086934/how-to-add-the-date-selected-to-an-asp-net-form-wi

the problem is I tried to add asp,net checkbox list but it does not style correctly. I have used Flow, Table layouts and need simple vertical repeat pattern with checkbox aligned left and text after. But the check box appears to the right and on the line below.

It could also be another input solution without using the control if that is more consistent..

thank you

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,489 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Helen Handson 0 Reputation points
    2024-10-10T17:13:24.47+00:00

    You can resolve the checkbox alignment issue by using CSS. Set the container to display: block and style the checkbox with proper margins to align it to the left of the text. This will ensure a clean vertical layout without relying on ASP.NET layout controls. Milky Way Online Game Download

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.