Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1215
WebTab custom images
posted

Is it possible to override the ContentTabItem appearance with a custom image?

I tried setting Tab.ImageUrl to an image, but I still see margins at the left and right.  In other words, the image does not completely cover the tab.  (See attachment.)

Is there a way to make an image complete cover the tab?

Parents
No Data
Reply
  • 18204
    Verified Answer
    Offline posted

    Hello raywhite,

     

    Thank you for posting on our forums!

    The tab items are composed of three different tab images.  I ran a quick test to determine which CSS classes are responsible for these properties.

    The background-image of each of these CSS classes make up the entire tab item.  Listed below the class is the corresponding property of the WebTab that you can set in the Visual Studio properties list to override these classes.

    .igTab_THTab
    TabItemCssClasses - CssClass

    .igtab_THTail
    TabItemCssClasses - TailCssClass

    .igtab_THCenter
    TabItemCssClasses - CenterCssClass

     

    If you need further assistance with this, please let me know and I'll be glad to help.

Children