Hi
I have several input fields in a column and I want to control the label size using CSS (or via other means) so that all the input fields align vertically.
I tried to use :
.CustomClass
{
width: 120px !important; /* edited this value to be correct */
}
with
...
WrapperCssClass="riLabel" LabelWidth="120px"
where the riLabel contains 120px for the width (which is redundant in this case), but noting worked.
I tested on IE9 and FireFox.
most of the above was inspired by the page: http://www.telerik.com/help/aspnet-ajax/input-css-width.html
I tried inserting a JavaScript function as suggested in the above page, but got an error regarding the passed parameters to the function.
If you can provide a tiny working example, this would be great.
Also, this may be another question though, I can't get built-in skins to work unless I use CDN. Event though I have Telerik.Web.UI.Skins.dll in the bin.
Thanks.
I have several input fields in a column and I want to control the label size using CSS (or via other means) so that all the input fields align vertically.
I tried to use :
.CustomClass
{
width: 120px !important; /* edited this value to be correct */
}
with
...
WrapperCssClass="riLabel" LabelWidth="120px"
where the riLabel contains 120px for the width (which is redundant in this case), but noting worked.
I tested on IE9 and FireFox.
most of the above was inspired by the page: http://www.telerik.com/help/aspnet-ajax/input-css-width.html
I tried inserting a JavaScript function as suggested in the above page, but got an error regarding the passed parameters to the function.
If you can provide a tiny working example, this would be great.
Also, this may be another question though, I can't get built-in skins to work unless I use CDN. Event though I have Telerik.Web.UI.Skins.dll in the bin.
Thanks.