Categories | Question details Back To List | ||||||||||||||||||||
color of footer Hi, is it possible to have color gradient in footer? Thanks in advance! pyt Answer posted by Support on Nov 03, 2008 04:01 You can define your custom background as part of custom skin, or just redefine existin class in dhtmlxgrid.css http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Creating_custom_skin.html#grid_cust_skin div.gridbox div.ftr{ background-image:url(...); } Answer posted on Nov 03, 2008 07:15 I have added the following subset of rules in dhtmlxgrid.css: /* custom skin*/ div.gridbox_custom { border:1px solid #c2d5dc; } div.gridbox_custom .xhdr{ background-image:url(images/imgs/skin_modern_header_blue.png); } div.gridbox_custom table.hdr{ background-image:url(images/imgs/skin_modern_header_blue.png); } div.gridbox_custom div.ftr td { empty-cells:show; background-image:url(images/imgs/skin_modern_header_blue.png); } and in js: grid.setSkin("custom"); But i have no change in header and footer style. I attach my image here. Attachments (1)
Answer posted by Support on Nov 03, 2008 08:00 Please, try to change class name as follows: div.gridbox div.ftr td { empty-cells:show; background-image:url(images/imgs/skin_modern_header_blue.png); } Answer posted on Nov 03, 2008 09:06 Unfortunately, it doesn't work. Is my image okay. Since i have no change neither in header nor in footer. Answer posted by Support on Nov 03, 2008 09:17 Please check attached sample. Attachments (2)
|