Avatar of vcharles
vcharles
 asked on

Help with setting checkbox list's row's height

Hi,

My row's height seem to depend on the number of rows, how do I fix the rows' height regardless of mamy records listed?

V.
ASP.NET

Avatar of undefined
Last Comment
vcharles

8/22/2022 - Mon
Ramkisan Jagtap

have you given fixed height to Checkbox list? If yes, remove the hight and give height to listitem.
vcharles

ASKER
What do you mean by give  height to listitem?
Ramkisan Jagtap

Looking at your other question, You are trying to apply css to the checkboxlist items.
i.e. Setting height of the Rows, Applying alternate row colors, onMouseover event of the row. You need to create css for the row style and apply it to the each item of the check box list.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
vcharles

ASKER
How do I apply the css to each item of the check box list?
ASKER CERTIFIED SOLUTION
Ramkisan Jagtap

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
vcharles

ASKER
Hi,

Is there a way to apply this code to all the checkbox list controls on my form?

Thanks,

V.
vcharles

ASKER
Hi,

I am still having issues with the row's height, when I remove a value form the height property, the rows look ok (Not too far apart), but when I add multiple rows the control expands too far down, how do I fix this problem without setting he height of the control?
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.