Setting height using css

2 posts, 0 answers
  1. Morten
    Morten avatar
    267 posts
    Member since:
    Jul 2012

    Posted 05 Aug 2015 Link to this post

    Hi,

     How can I set the height using CSS?

     

    <telerik:RadListBox runat="server" ID="rlb" CssClass="height40" ><Items><telerik:RadListBoxItem Text="1" /><telerik:RadListBoxItem Text="2" /><telerik:RadListBoxItem Text="3" /><telerik:RadListBoxItem Text="4" /><telerik:RadListBoxItem Text="5" /><telerik:RadListBoxItem Text="6" /><telerik:RadListBoxItem Text="7" /></Items>     </telerik:RadListBox>

  2. Eyup
    Admin
    Eyup avatar
    3014 posts

    Posted 10 Aug 2015 Link to this post

    Hello Morten,

    You can use the following rule to achieve that:
    <style>
        .height40 .rlbGroup {
            height: 400px;
        }
    </style>

    Hope this helps. Please give it a try and let me know if it works for you.

    Regards,
    Eyup
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top