Space between RadRibbonBar and acutal border

3 posts, 1 answers
  1. Robin
    Robin avatar
    30 posts
    Member since:
    Jun 2012

    Posted 10 Jul 2012 Link to this post

    Hello,

    I'm using a RadRibbonBar, which is placed inside of a Rad Pane. I've set the width of the RibbonBar to 100% because I want it to cover up the whole page, but unfortunately there still are a few pixels of blank space between the end of the RibbonBar and the border of the page. Setting padding, margin, BorderWidth or BorderStyle of any of the controls didn't change anything.
    Do you have any suggestions on how to fix this?

    Thanks in advance,
    Robin
  2. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 10 Jul 2012 Link to this post

    Hi Robin,

    Try overriding the default CSS as follows.

    CSS:
    <style type="text/css">
      .RadRibbonBar .rrbContentWrapMid
      {
         margin-left: -2px !important;
        margin-right: -2px !important;
      }
    </style>

    Hope this helps.

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Robin
    Robin avatar
    30 posts
    Member since:
    Jun 2012

    Posted 10 Jul 2012 Link to this post

    Hi Princy,

    thank you very much for the fast answer. The suggested solution pretty much fixed my problem.

    With regards,
    Robin
Back to Top