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

set raddcock Margin

2 Answers 83 Views
Dock
This is a migrated thread and some comments may be shown as answers.
prayag ganoje
Top achievements
Rank 1
prayag ganoje asked on 30 Apr 2011, 12:13 AM
Hello,

I have raddcocks in the raddock layout. I out three table columns and three raddock zones inside these three columns.

I create a raddcock dynamically and load in the raddcock zone. I observed that there is margin left between table left, top right border and raddock. Please see the attached image. I tried to use the css properties but it didnt help.

Can you please suggest good way to remove unwanted margins ?

PN:- I want to set margin to 9px at left, top and right.

2 Answers, 1 is accepted

Sort by
0
prayag ganoje
Top achievements
Rank 1
answered on 30 Apr 2011, 12:19 AM
I used CSS:
.RadDock 
    
        height: auto
        margin: 0px 0px 9px 0px
        padding-bottom:0px !important
        border-bottom-width:0px;   
    }
.RadDock .rdTop .rdTitleBar
{
text-align: left;
position: relative;
vertical-align:top !important;
}
0
Accepted
Pero
Telerik team
answered on 02 May 2011, 01:21 PM
Hello Prayag,

The RadDockZone has a default padding of 4 pixels, which could be easily removed with a bit of CSS, but I am not sure whether this will help in your case. From the screenshot I see that there is a space between the dock's right side and the zone, that looks greater than 4px, and it might come from the table the zones are placed in.
Please try the following CSS on your page and in case the issue persists please send a sample runnable project, so we can debug the problem locally.
<style type="text/css">
    .RadDockZone
    {
        padding: 0px !important;
    }
</style>


All the best,
Pero
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Dock
Asked by
prayag ganoje
Top achievements
Rank 1
Answers by
prayag ganoje
Top achievements
Rank 1
Pero
Telerik team
Share this question
or