I need smaller tab

3 posts, 1 answers
  1. Filleau
    Filleau avatar
    114 posts
    Member since:
    Jun 2006

    Posted 02 Apr 2009 Link to this post

    Hi,

    I use Q2009. On my form, I have a TadStrip with tab letters (A to Z)


    Since Q2009 the vista (& others) skin tab seems to be larger than Q2008

    Because I don't know CSS and how to modify it. (I tryed to edit skins\vista\tabstrip.vista.css without any success)
    Can you tell me a sympli way to reduce the width of the tab.

    I think there is to way to do it
    - With a smaller font
    - By deleting the rigth and left padding (if there is padding)
    - may be another one ?

    How to do this ? and where ?

    Thanks
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 03 Apr 2009 Link to this post

    Hello Filleau,

    You can set the required styles in the css class for the tabstrip as shown below:
    aspx:
    <telerik:RadTabStrip CssClass="TabStrip" ID="RadTabStrip1" runat="server"
     ..... 
    </telerik:RadTabStrip>      

    css:
     <style type="text/css"
        .TabStrip .rtsIn 
         { 
            padding-left:0px !important; 
            padding-right:0px !important; 
            font-size:smaller !important; 
         } 
     </style> 

    Thanks
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Filleau
    Filleau avatar
    114 posts
    Member since:
    Jun 2006

    Posted 03 Apr 2009 Link to this post

    GREAT !

    Thanks
Back to Top