CSS for tree icons

Is it possible to apply a style just for the icons in a tree and not the grid lines?

I tried div.gridbox table.obj td img { margin-right: 3px; } but this also affects the grid lines.

Thank you.

Unfortunately there is no way to assign css class only for treegrid icons ( at least there is no cross-browser way )
You can modify code of dhtmlxtreegrid.js

dhtmlxtreegrid.js, line 422
    _tgc.itemim="’ align=‘absmiddle’ “+(this.grid._img_height?(” height=
can be modified as

    _tgc.itemim="’ class=‘any_custom_css’ align=‘absmiddle’ “+(this.grid._img_height?(” height=

That worked great. Thank you.