Click here to Skip to main content
14,421,696 members
Rate this:
Please Sign up or sign in to vote.
See more:
I have 30 linkbutton in my application.The linkbutton display the value from database.some linkbutoon does not have data or show data because in database does'nt have data. some link button display data . i fixed height and width of every link button.but when page run the linkbutton which contains data has same height and width which i defined but empty link button has not fix height and width the height and width of button is so small according in compare to linkbutton which contains data. i want every linkbutton should have fix height and width wheater they data display or not.

Thanks and Regards
Manohar
Posted

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

I think you need to try to set this css to your link button...

display: inline-block;
min-width: 45px;
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100