This is a migrated thread and some comments may be shown as answers.

rdContent margin

7 Answers 73 Views
This is a migrated thread and some comments may be shown as answers.
Daren
Top achievements
Rank 1
Daren asked on 24 Nov 2009, 10:29 AM
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.

7 Answers, 1 is accepted

Sort by
0
Jeroen
Top achievements
Rank 2
answered on 24 Nov 2009, 02:52 PM
Try .rdMiddle
This margin occurs because of the rounded corders. (.rdLeft & .rdRight)

Hope this helps,
Regards,
LSO
0
Erick Burgess
Top achievements
Rank 1
answered on 30 Dec 2009, 08:05 PM
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?
0
Svetlina Anati
Telerik team
answered on 31 Dec 2009, 10:00 AM
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.
0
Erick Burgess
Top achievements
Rank 1
answered on 31 Dec 2009, 04:19 PM
That worked - thanks for the quick response!
0
Svetlina Anati
Telerik team
answered on 31 Dec 2009, 04:20 PM
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.
0
Herve
Top achievements
Rank 2
answered on 01 Jan 2010, 10:21 AM
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é
0
Svetlina Anati
Telerik team
answered on 01 Jan 2010, 10:31 AM
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.
Tags
Dock
Asked by
Daren
Top achievements
Rank 1
Answers by
Jeroen
Top achievements
Rank 2
Erick Burgess
Top achievements
Rank 1
Svetlina Anati
Telerik team
Herve
Top achievements
Rank 2
Share this question
or