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

[Solved] Background distorts on drag in Internet Explorer

1 Answer 120 Views
Dock
This is a migrated thread and some comments may be shown as answers.
jane
Top achievements
Rank 1
jane asked on 19 Apr 2008, 11:05 AM
Hi there,

Firstly, great job on ASP.NET AJAX Dock - it's great! I'm havinng some problems with my page in internet explorer (it works fine in Firefox). I have a gradient background on the page but when i drag a dock, the background 'shrinks' and won't go back. I've posted an example at http://stjosephs.ace-deuce.com/nunspace/default2.aspx

Any ideas? It may be how I've implemented the back image but it's the only way I can get it to appear in all browsers.

Any help would be appreciated!


1 Answer, 1 is accepted

Sort by
0
Sophy
Telerik team
answered on 21 Apr 2008, 04:08 PM
Hello Jane,

Thank you for the provided link.

I examined the link to your sample page and noticed that the problem you experience is due to the margins you have set to the body element. What do you want to achieve by setting these margins? Having margins set to an element means that its child elements will be rendered at a distance the value of the corresponding margin from its parent's borders.

If you want the div element holding the RadDockZones to be 100% of the body you should remove the margins set to the body element. I also recommend add the following style inside the head tags of your test page:

<style type="text/css">  
    html, body, form  
    {  
        height: 100%;  
        width: 100%;  
        margin0px;  
        padding0px;  
    }  
</style> 

as well as set height to the div holding the zones as in your case it is expanded by the zones inside it.

Please, let us know if you need further assistance.

Sophy
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Dock
Asked by
jane
Top achievements
Rank 1
Answers by
Sophy
Telerik team
Share this question
or