How do I create inline border style in views table for views data export word output?
I have created views template and saved in theme folder. then used styles in template itself like below:

      &lt;th style="border:1px solid #000000; border-collapse:collapse; padding:5px; min-width:80px" &lt;?php if ($header_classes[$field]) { print 'class="'. $header_classes[$field] . '" '; } ?&gt;&gt;
        &lt;?php print $label; ?&gt;


Useful link: http://www.wdtutorials.com/drupal-7/drupal-7-how-to-create-custom-template-view#.VWsGAlJp0-Y