Create a border around fullscreen tabbar

Hi,

There is this sample for fullscreen tabbar:

dhtmlxTabbar_v403_std\samples\dhtmlxTabbar\01_initialization\inc\tabbar_fullscreen.html

How can I add a border (i.e. space) around the tabbar?

The style section has:

<style> html, body { width: 100%; height: 100%; margin: 0px; padding: 0px; background-color: #ebebeb; overflow: hidden; } </style>

I have tried to change margin and padding but this has no effect.

Hi

Please try the following:

[code]// add this once
myTabbar.setSizes1 = myTabbar.setSizes;
myTabbar.setSizes = function(){
this.setSizes1.apply(this, arguments);
this.base.style.left = this.conf.baseOfs.w+“px”;
this.base.style.top = this.conf.baseOfs.h+“px”;
}

// apply margins, after init
myTabbar.conf.baseOfs={w:10,h:10}; // width/height
myTabbar.setSizes();[/code]

Thanks, that works perfectly.