rdContent margin

8 posts, 1 answers
  1. Answer
    Daren
    Daren avatar
    4 posts
    Member since:
    Nov 2009

    Posted 24 Nov 2009 Link to this post

    i have a background color for the rdContent cell and i want it to reach the border, seems it has a 6px margin or something. please see screenshot below.

    Some help please.
  2. Jeroen
    Jeroen avatar
    8 posts
    Member since:
    Feb 2006

    Posted 24 Nov 2009 Link to this post

    Try .rdMiddle
    This margin occurs because of the rounded corders. (.rdLeft & .rdRight)

    Hope this helps,
    Regards,
    LSO
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Erick Burgess
    Erick Burgess avatar
    12 posts
    Member since:
    Apr 2009

    Posted 30 Dec 2009 Link to this post

    We would like the dock content to fill the dock completely without any margin/padding at all. Is there any way to get rid of the 6px margin?
  5. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 31 Dec 2009 Link to this post

    Hello Erick,

    I assume that what you mean by space around the content are actually the TD elements which form the dock - in order to remove them you should set display: none and also set border to the wrapper DIV since the border are formed from the TDs :

    <style type="text/css">
          
    .rdLeft, .rdRight, .rdBottom
    {
        display: none;
    }
      
    DIV.RadDock_Default
    {
       border-left: solid 1px grey;
       border-right: solid 1px grey;
       border-bottom: solid 1px grey; 
    }
      
    </style>

    Please, try the above provided CSS and note that "Default" in the RadDock_Default selector is for the Default skin and if you are using another skin you should put its name there instead.

    I hope that my reply is helpful, let me know how it goes.


    Kind regards,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  6. Erick Burgess
    Erick Burgess avatar
    12 posts
    Member since:
    Apr 2009

    Posted 31 Dec 2009 Link to this post

    That worked - thanks for the quick response!
  7. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 31 Dec 2009 Link to this post

    Hi Erick,

    I am glad I could help. In case you experience any further problems or you have additional questions do not hesitate to contact us again.


    Best wishes,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  8. Herve
    Herve avatar
    39 posts
    Member since:
    Jun 2008

    Posted 01 Jan 2010 Link to this post

    Hi Svetlina,

    When trying your solution I can't see the content of my boxes exepted when expending a boxe in IE 8, FF is ok.

    Any idea about it ?

    Thanks and happy new year !!!


    Hervé
  9. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 01 Jan 2010 Link to this post

    Hi Herve,

    I tested the expand/collapse of a radDock with the suggested styles applied under IE 8, IE7 and FF but I could not see difference in the behavior - everything works fine under all the browsers. I prepared for you a sample video capture of my tests and attached it to the thread for your reference.

    Please, examine it and let me know whether I am missing something.

    Sincerely yours,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017